Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
54524: [FORUM]: Export in STL work wrong' issue
[modules/smesh.git]
/
src
/
SMESHUtils
/
SMESH_File.cxx
diff --git
a/src/SMESHUtils/SMESH_File.cxx
b/src/SMESHUtils/SMESH_File.cxx
index 888de195691438d7f5023a69b1787abe82193731..a8983d247e1c25c84edbb09bd186ebe904d3e87d 100644
(file)
--- a/
src/SMESHUtils/SMESH_File.cxx
+++ b/
src/SMESHUtils/SMESH_File.cxx
@@
-319,6
+319,8
@@
bool SMESH_File::getInts(std::vector<int>& ints)
bool SMESH_File::openForWriting()
{
+ close();
+
#ifdef WIN32
#ifdef UNICODE
std::wstring aName = Kernel_Utils::utf8_decode_s(_name);