From 4a8e1691d316b70caabf92d3cbdf5e3557bac1ca Mon Sep 17 00:00:00 2001 From: srn Date: Wed, 23 Mar 2005 07:56:37 +0000 Subject: [PATCH] Removed unnecessary methods --- src/SALOMEDS/SALOMEDS_StudyManager_i.cxx | 14 -------------- src/SALOMEDS/SALOMEDS_StudyManager_i.hxx | 16 ---------------- 2 files changed, 30 deletions(-) diff --git a/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx b/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx index c2709aad7..9c4a9d748 100644 --- a/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx +++ b/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx @@ -308,20 +308,6 @@ SALOMEDS::Study_ptr SALOMEDS_StudyManager_i::GetStudyByID(CORBA::Short aStudyID) return Study; } -//============================================================================ -/*! Function : GetDocumentOfStudy - * Purpose : - */ -//============================================================================ -Handle(TDocStd_Document) SALOMEDS_StudyManager_i::GetDocumentOfStudy(SALOMEDS::Study_ptr theStudy) -{ - SALOMEDS::Locker lock; - - Handle(SALOMEDSImpl_Study) aStudyImpl = _impl->GetStudyByID(theStudy->StudyId()); - Handle(TDocStd_Document) aDocument = _impl->GetDocumentOfStudy(aStudyImpl); - return aDocument; -} - //============================================================================ /*! Function : CanCopy diff --git a/src/SALOMEDS/SALOMEDS_StudyManager_i.hxx b/src/SALOMEDS/SALOMEDS_StudyManager_i.hxx index 3d384ffd4..795ccb9e2 100644 --- a/src/SALOMEDS/SALOMEDS_StudyManager_i.hxx +++ b/src/SALOMEDS/SALOMEDS_StudyManager_i.hxx @@ -113,22 +113,6 @@ public: \return Study_ptr arguments */ virtual SALOMEDS::Study_ptr GetStudyByID(CORBA::Short aStudyID) ; - - - Handle(TDocStd_Document) GetDocumentOfStudy(SALOMEDS::Study_ptr theStudy); - - void CopyLabel(const SALOMEDS::Study_ptr theSourceStudy, - const SALOMEDS::Driver_ptr theEngine, - const Standard_Integer theSourceStartDepth, - const TDF_Label& theSource, - const TDF_Label& theDestinationMain); - - TDF_Label PasteLabel(const SALOMEDS::Study_ptr theDestinationStudy, - const SALOMEDS::Driver_ptr theEngine, - const TDF_Label& theSource, - const TDF_Label& theDestinationStart, - const int theCopiedStudyID, - const bool isFirstElement); virtual CORBA::Boolean CanCopy(SALOMEDS::SObject_ptr theObject); virtual CORBA::Boolean Copy(SALOMEDS::SObject_ptr theObject); -- 2.39.2