]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fixed method RemoveObjectWithChildren, the children are not put in the modification...
authorsrn <srn@opencascade.com>
Mon, 1 Feb 2010 10:35:35 +0000 (10:35 +0000)
committersrn <srn@opencascade.com>
Mon, 1 Feb 2010 10:35:35 +0000 (10:35 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx

index 1694348dbf35c44c84ad7cb57e5078cc14245f2c..b84f2234548651afdd3c781b1fd4a5fce2fa9f7a 100644 (file)
@@ -254,9 +254,6 @@ bool SALOMEDSImpl_StudyBuilder::RemoveObjectWithChildren(const SALOMEDSImpl_SObj
   for(;it.More();it.Next()) {
     DF_Label aLabel = it.Value();
 
-    SALOMEDSImpl_SObject so(aLabel);
-    so.OnRemove();
-
     if ((aReference=(SALOMEDSImpl_AttributeReference*)aLabel.FindAttribute(SALOMEDSImpl_AttributeReference::GetID()))) {
       SALOMEDSImpl_AttributeTarget* aTarget = NULL;
       if ((aTarget=(SALOMEDSImpl_AttributeTarget*)aReference->Get().FindAttribute(SALOMEDSImpl_AttributeTarget::GetID())))