fix various coverity issues
This commit is contained in:
@@ -774,7 +774,11 @@ void Application::onLastWindowClosed(Gui::Document* pcDoc)
|
||||
// Call the closing mechanism from Python. This also checks whether pcDoc is the last open document.
|
||||
Command::doCommand(Command::Doc, "App.closeDocument(\"%s\")", pcDoc->getDocument()->getName());
|
||||
}
|
||||
catch (const Base::PyException& e) {
|
||||
catch (const Base::Exception& e) {
|
||||
e.ReportException();
|
||||
}
|
||||
catch (const Py::Exception&) {
|
||||
Base::PyException e;
|
||||
e.ReportException();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user