From 1ccc5a5f3f060216f26ec5dbeec69a5cc4ec4f21 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 12 Nov 2013 11:44:16 +0000 Subject: [PATCH] Fix exception when zero bounding box is obtained --- src/MeasureGUI/MeasureGUI_BndBoxDlg.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MeasureGUI/MeasureGUI_BndBoxDlg.cxx b/src/MeasureGUI/MeasureGUI_BndBoxDlg.cxx index 5d0ebc3a8..b4f28714e 100644 --- a/src/MeasureGUI/MeasureGUI_BndBoxDlg.cxx +++ b/src/MeasureGUI/MeasureGUI_BndBoxDlg.cxx @@ -334,4 +334,6 @@ void MeasureGUI_BndBoxDlg::redisplayPreview() catch (const SALOME::SALOME_Exception& e) { SalomeApp_Tools::QtCatchCorbaException(e); } + catch (...) { + } } -- 2.39.2