From: srn Date: Wed, 6 Jul 2005 11:49:37 +0000 (+0000) Subject: BugID: 9377, modified method saveDocumentAs, removed usage of unitialized variable X-Git-Tag: V3_0_1~88 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=988355d23d6e121539539cef28f90f9086cdde9e;p=modules%2Fgui.git BugID: 9377, modified method saveDocumentAs, removed usage of unitialized variable --- diff --git a/src/SalomeApp/SalomeApp_Study.cxx b/src/SalomeApp/SalomeApp_Study.cxx index aa812a974..af63f686c 100644 --- a/src/SalomeApp/SalomeApp_Study.cxx +++ b/src/SalomeApp/SalomeApp_Study.cxx @@ -150,7 +150,7 @@ bool SalomeApp_Study::saveDocumentAs( const QString& theFileName ) /* bool res = */isAscii ? SalomeApp_Application::studyMgr()->SaveAsASCII( theFileName.latin1(), studyDS(), isMultiFile ) : SalomeApp_Application::studyMgr()->SaveAs ( theFileName.latin1(), studyDS(), isMultiFile ); - bool res = res && CAM_Study::saveDocumentAs( theFileName ); + bool res = CAM_Study::saveDocumentAs( theFileName ); //SRN: BugID IPAL9377, removed usage of uninitialized variable if ( res ) emit saved( this );