From 4b96880ab361bca4fa6d7b43f721d930953435e8 Mon Sep 17 00:00:00 2001 From: mpv Date: Thu, 17 Sep 2015 19:31:22 +0300 Subject: [PATCH] Minor changes --- src/Model/Model_Document.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index b16353816..9070ccc7a 100644 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -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) { -- 2.39.2