]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Application.cxx
Salome HOME
Added object, attribute and data model organization in the document.
[modules/shaper.git] / src / Model / Model_Application.cxx
index 560f5805c980b9d0143baaa0fdaa974e6f5c86be..aab352e75c7ecd02a8052759619e1afd879e7462 100644 (file)
@@ -23,12 +23,12 @@ Handle(Model_Application) Model_Application::getApplication()
 //function : getDocument
 //purpose  : 
 //=======================================================================
-boost::shared_ptr<Model_Document> Model_Application::getDocument(std::string theDocID)
+std::shared_ptr<Model_Document> Model_Application::getDocument(std::string theDocID)
 {
   if (myDocs.find(theDocID) != myDocs.end())
     return myDocs[theDocID];
 
-  boost::shared_ptr<Model_Document> aNew(new Model_Document("BinOcaf"));
+  std::shared_ptr<Model_Document> aNew(new Model_Document(theDocID));
   myDocs[theDocID] = aNew;
   return aNew;
 }