Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1315eaf
)
BugID: 9377, modified method saveDocumentAs, removed usage of unitialized variable
author
srn
<srn@opencascade.com>
Wed, 6 Jul 2005 11:49:37 +0000
(11:49 +0000)
committer
srn
<srn@opencascade.com>
Wed, 6 Jul 2005 11:49:37 +0000
(11:49 +0000)
src/SalomeApp/SalomeApp_Study.cxx
patch
|
blob
|
history
diff --git
a/src/SalomeApp/SalomeApp_Study.cxx
b/src/SalomeApp/SalomeApp_Study.cxx
index aa812a9748269d2397610c8de246c13cad61bbe6..af63f686c032a4b563f2be7cafa3040a856c4594 100644
(file)
--- 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 <res>
if ( res )
emit saved( this );