fix coverity issues

This commit is contained in:
wmayer
2017-11-18 18:07:00 +01:00
parent 532d9b230b
commit 046954a05b
3 changed files with 7 additions and 2 deletions

View File

@@ -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