From: KGV <> Date: Thu, 28 Apr 2011 15:49:45 +0000 (+0000) Subject: OCC22273 Message_ProgressSentry with NULL handle progress cause exception X-Git-Tag: V6_5_1~53 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=8a2427055aa60244515a59d7a140deb6769cbe6f;p=occt-copy.git OCC22273 Message_ProgressSentry with NULL handle progress cause exception --- diff --git a/src/Message/Message_ProgressSentry.lxx b/src/Message/Message_ProgressSentry.lxx index 7484752ed5..b8e918ec43 100755 --- a/src/Message/Message_ProgressSentry.lxx +++ b/src/Message/Message_ProgressSentry.lxx @@ -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(); }