Salome HOME
Merge multi-study removal branch.
[modules/geom.git] / src / GEOM_I / GEOM_IOperations_i.cc
index b3d6c6125a88911165c2aef5deedeeb9fba3d54b..b7119922008d41c22defb8a5af3dc37efe22285e 100644 (file)
@@ -88,16 +88,6 @@ char* GEOM_IOperations_i::GetErrorCode()
   return CORBA::string_dup(_impl->GetErrorCode());
 }
 
-//=============================================================================
-/*!
- *  GetStudyID
- */
-//=============================================================================
-CORBA::Long GEOM_IOperations_i::GetStudyID()
-{
-  return _impl->GetDocID();
-}
-
 //=============================================================================
 /*!
  *  StartOperation
@@ -141,7 +131,7 @@ GEOM_IOperations_i::GetBaseObject(HANDLE_NAMESPACE(GEOM_BaseObject) theObject)
   if (theObject.IsNull()) return GO._retn();
   TCollection_AsciiString anEntry;
   TDF_Tool::Entry(theObject->GetEntry(), anEntry);
-  GO = _engine->GetObject(theObject->GetDocID(), (char*) anEntry.ToCString());
+  GO = _engine->GetObject((char*) anEntry.ToCString());
   return GO._retn();
 }
 
@@ -156,7 +146,7 @@ GEOM_IOperations_i::GetBaseObjectImpl(GEOM::GEOM_BaseObject_ptr theObject)
   HANDLE_NAMESPACE(GEOM_BaseObject) anImpl;
   if (!CORBA::is_nil(theObject)) {
     CORBA::String_var anEntry = theObject->GetEntry();
-    anImpl = GetImpl()->GetEngine()->GetObject( theObject->GetStudyID(), anEntry );
+    anImpl = GetImpl()->GetEngine()->GetObject( anEntry );
   }
   return anImpl;
 }