Fix scan coverity issues:

CID 184299:  Null pointer dereferences  (FORWARD_NULL)
CID 184297:  Error handling issues  (UNCAUGHT_EXCEPT)
CID 184296:  Uninitialized members  (UNINIT_CTOR)
CID 184292:  Uninitialized members  (UNINIT_CTOR)
This commit is contained in:
wmayer
2018-11-13 13:20:16 +01:00
parent 6a6ea0a5a6
commit b8ed93605d
3 changed files with 12 additions and 3 deletions

View File

@@ -314,7 +314,11 @@ OrthoViews::~OrthoViews()
for (int i = views.size() - 1; i >= 0; i--)
delete views[i];
page->recomputeFeature();
try {
page->recomputeFeature();
}
catch (...) {
}
}
void OrthoViews::slotDeletedDocument(const App::Document& Obj)