1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-02 17:46:22 +03:00

OCC22273 Message_ProgressSentry with NULL handle progress cause exception

This commit is contained in:
KGV 2011-04-28 15:49:45 +00:00 committed by bugmaster
parent 87c58d4f03
commit 8a2427055a

View File

@ -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();
}