54524: [FORUM]: Export in STL work wrong' issue

This commit is contained in:
eap 2019-04-01 18:39:56 +03:00
parent a9af195d40
commit ee0db2f237
2 changed files with 4 additions and 2 deletions

View File

@ -319,6 +319,8 @@ bool SMESH_File::getInts(std::vector<int>& ints)
bool SMESH_File::openForWriting() bool SMESH_File::openForWriting()
{ {
close();
#ifdef WIN32 #ifdef WIN32
#ifdef UNICODE #ifdef UNICODE
std::wstring aName = Kernel_Utils::utf8_decode_s(_name); std::wstring aName = Kernel_Utils::utf8_decode_s(_name);