From 988355d23d6e121539539cef28f90f9086cdde9e Mon Sep 17 00:00:00 2001 From: srn Date: Wed, 6 Jul 2005 11:49:37 +0000 Subject: [PATCH] BugID: 9377, modified method saveDocumentAs, removed usage of unitialized variable --- src/SalomeApp/SalomeApp_Study.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.2