utf: history_manager 2
[scilab.git] / scilab / modules / history_manager / src / cpp / HistoryFile.cpp
index 29d22ba..e6bdb0e 100644 (file)
@@ -107,13 +107,7 @@ BOOL HistoryFile::writeToFile(const std::string& _stFilename)
             return FALSE;
         }
 
-#ifdef _MSC_VER
-        wchar_t* filename = to_wide_string(_stFilename.c_str());
-        fOut.open(filename, std::ios::trunc);
-        FREE(filename);
-#else
         fOut.open(_stFilename.c_str(), std::ios::trunc);
-#endif
         if (fOut.is_open() == false)
         {
             return FALSE;