X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Application.cxx;h=aab352e75c7ecd02a8052759619e1afd879e7462;hb=1a0a0306f6d0f56c009b29cba0b53e8d1abd4edf;hp=ac1eeb896c8cb9ce1eb51564de0902ad3cc987a2;hpb=475c7f8d39e081fb9defe50a05f18bca625993bf;p=modules%2Fshaper.git diff --git a/src/Model/Model_Application.cxx b/src/Model/Model_Application.cxx index ac1eeb896..aab352e75 100644 --- a/src/Model/Model_Application.cxx +++ b/src/Model/Model_Application.cxx @@ -28,7 +28,7 @@ std::shared_ptr Model_Application::getDocument(std::string theDo if (myDocs.find(theDocID) != myDocs.end()) return myDocs[theDocID]; - std::shared_ptr aNew(new Model_Document); + std::shared_ptr aNew(new Model_Document(theDocID)); myDocs[theDocID] = aNew; return aNew; }