Salome HOME
Merge multi-study removal branch.
[modules/geom.git] / src / GEOM / GEOM_BaseDriver.cxx
index 314c657606109e5beafe1ba2bfc540919855c15d..731acd9997645e18e31bafb9649bf2b3b7848ffc 100644 (file)
 
 OCCT_IMPLEMENT_STANDARD_RTTIEXT(GEOM_BaseDriver,TFunction_Driver);
 
-//================================================================================
-/*!
- * Returns document id
- */
-//================================================================================
-int GEOM_BaseDriver::GetDocID() const
-{
-  int docId = 0;
-  if (!Label().IsNull()) {
-    Handle(TDocStd_Document) aDoc = TDocStd_Owner::GetDocument(Label().Data());
-    docId = GEOM_Engine::GetEngine()->GetDocID(aDoc);
-  }
-  return docId;
-}
-
 //================================================================================
 /*!
  * \brief Returns a name of creation operation and names and values of creation parameters