fix coverity issues
This commit is contained in:
@@ -214,7 +214,11 @@ TaskAttacher::TaskAttacher(Gui::ViewProviderDocumentObject *ViewProvider,QWidget
|
||||
|
||||
TaskAttacher::~TaskAttacher()
|
||||
{
|
||||
visibilityAutomation(false);
|
||||
try {
|
||||
visibilityAutomation(false);
|
||||
}
|
||||
catch (...) {
|
||||
}
|
||||
|
||||
connectDelObject.disconnect();
|
||||
delete ui;
|
||||
|
||||
@@ -507,7 +507,7 @@ TaskDlgFeaturePick::~TaskDlgFeaturePick()
|
||||
//do the work now as before in accept() the dialog is still open, hence the work
|
||||
//function could not open another dialog
|
||||
if (accepted) {
|
||||
workFunction(pick->buildFeatures());
|
||||
try { workFunction(pick->buildFeatures()); } catch (...) {}
|
||||
} else if (abortFunction) {
|
||||
|
||||
// Get rid of the TaskFeaturePick before the TaskDialog dtor does. The
|
||||
|
||||
@@ -6060,6 +6060,7 @@ public:
|
||||
, EditCurve(2)
|
||||
, BaseGeoId(-1)
|
||||
, ExtendFromStart(false)
|
||||
, SavedExtendFromStart(false)
|
||||
, Increment(0)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user