OCC22273 Message_ProgressSentry with NULL handle progress cause exception
authorKGV <>
Thu, 28 Apr 2011 15:49:45 +0000 (15:49 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:28:15 +0000 (19:28 +0400)
src/Message/Message_ProgressSentry.lxx

index 7484752..b8e918e 100755 (executable)
@@ -64,5 +64,5 @@ inline Standard_Boolean Message_ProgressSentry::More () const
 
 inline void Message_ProgressSentry::Show () const
 {
-  if ( myProgress ) myProgress->Show();
+  if ( ! myProgress.IsNull() ) myProgress->Show();
 }