From 8949129d53d9c515b32687fb061174b4366b9dee Mon Sep 17 00:00:00 2001 From: srn Date: Mon, 12 Sep 2005 11:52:10 +0000 Subject: [PATCH] Modified method PasteLabel, added {} --- src/SALOMEDS/SALOMEDS_StudyManager_i.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); + } } } -- 2.39.2