From: dmv Date: Thu, 22 Oct 2009 07:09:09 +0000 (+0000) Subject: IPAL21422 TC5.1.3: SIGSEGV during executing test GEOM-002 on close study X-Git-Tag: RELIQUAT_5x_30102009~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ee74379f54f2f2922feb8d2b89857cbe87be52fa;p=modules%2Fgeom.git IPAL21422 TC5.1.3: SIGSEGV during executing test GEOM-002 on close study --- diff --git a/src/GEOM/GEOM_Engine.cxx b/src/GEOM/GEOM_Engine.cxx index 7a572ba1f..f239246ad 100644 --- a/src/GEOM/GEOM_Engine.cxx +++ b/src/GEOM/GEOM_Engine.cxx @@ -370,7 +370,7 @@ Handle(GEOM_Object) GEOM_Engine::AddSubShape(Handle(GEOM_Object) theMainShape, //============================================================================= bool GEOM_Engine::RemoveObject(Handle(GEOM_Object) theObject) { - if (!theObject) return false; + if (theObject.IsNull()) return false; int aDocID = theObject->GetDocID();