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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user