From: srn Date: Mon, 12 Sep 2005 11:52:10 +0000 (+0000) Subject: Modified method PasteLabel, added {} X-Git-Tag: V2_2_5~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8949129d53d9c515b32687fb061174b4366b9dee;p=modules%2Fkernel.git Modified method PasteLabel, added {} --- diff --git a/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx b/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx index 3207f78a0..29d0ca4b6 100644 --- a/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx +++ b/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx @@ -1291,11 +1291,12 @@ TDF_Label SALOMEDS_StudyManager_i::PasteLabel(SALOMEDS_Study_i* theDestinationSt aPastedSO->GetFatherComponent()); SALOMEDS::lock(); TDF_Tool::Label(theDestinationStart.Data(), aDestSO->GetID(), aTargetLabel); - }else + }else { // PAL8065: san - PasteLabel() should always be called from some CORBA method protected with a lock SALOMEDS::unlock(); theEngine->PasteInto(aTMPFil.in(),anObjID->Get(),aPastedSO); SALOMEDS::lock(); + } } }