From d1e51c6551107b8dbb8cc538d9eb356e5fe94b6c Mon Sep 17 00:00:00 2001 From: srn Date: Mon, 1 Feb 2010 10:35:35 +0000 Subject: [PATCH] Fixed method RemoveObjectWithChildren, the children are not put in the modification delta --- src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx index 1694348db..b84f22345 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx @@ -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()))) -- 2.39.2