]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Minor changes
authormpv <mpv@opencascade.com>
Thu, 17 Sep 2015 16:31:22 +0000 (19:31 +0300)
committermpv <mpv@opencascade.com>
Thu, 17 Sep 2015 16:31:22 +0000 (19:31 +0300)
src/Model/Model_Document.cpp

index b163538169cef52903f074f3939b2fbce540a132..9070ccc7a585931ade1e2a2e2b4a7e75ef39e628 100644 (file)
@@ -105,6 +105,7 @@ bool Model_Document::load(const char* theFileName, DocumentPtr theThis)
   }
   TCollection_ExtendedString aPath(DocFileName(theFileName, myID));
   PCDM_ReaderStatus aStatus = (PCDM_ReaderStatus) -1;
+  Handle(TDocStd_Document) aLoaded;
   try {
     aStatus = anApp->Open(aPath, aLoaded);
   } catch (Standard_Failure) {