0031763: Foundation Classes - reporting of progress within parallel algorithms
[occt.git] / src / Draw / Draw_ProgressIndicator.cxx
index f473c7b..dd075df 100644 (file)
@@ -202,7 +202,7 @@ Standard_Boolean Draw_ProgressIndicator::UserBreak()
     {
       OSD::ControlBreak();
     }
     {
       OSD::ControlBreak();
     }
-    catch (OSD_Exception_CTRL_BREAK)
+    catch (const OSD_Exception_CTRL_BREAK&)
     {
       myBreak = Standard_True;
     }
     {
       myBreak = Standard_True;
     }