IPAL21422 TC5.1.3: SIGSEGV during executing test GEOM-002 on close study

This commit is contained in:
dmv 2009-10-22 07:09:09 +00:00
parent a258642774
commit ee74379f54

View File

@ -370,7 +370,7 @@ Handle(GEOM_Object) GEOM_Engine::AddSubShape(Handle(GEOM_Object) theMainShape,
//============================================================================= //=============================================================================
bool GEOM_Engine::RemoveObject(Handle(GEOM_Object) theObject) bool GEOM_Engine::RemoveObject(Handle(GEOM_Object) theObject)
{ {
if (!theObject) return false; if (theObject.IsNull()) return false;
int aDocID = theObject->GetDocID(); int aDocID = theObject->GetDocID();