diff options
author | Bernard Normier <bernard@zeroc.com> | 2014-05-16 10:42:54 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2014-05-16 10:42:54 -0400 |
commit | 5c41870b1df650b874069095fab2d29e93c76d3f (patch) | |
tree | acbdeba2738a258f05b26c4f2597d7ba80fa7a2d /cpp/src/Slice/Preprocessor.cpp | |
parent | Fixed ICE-710: error handling test for Unicode functions (diff) | |
download | ice-5c41870b1df650b874069095fab2d29e93c76d3f.tar.bz2 ice-5c41870b1df650b874069095fab2d29e93c76d3f.tar.xz ice-5c41870b1df650b874069095fab2d29e93c76d3f.zip |
Renamed wnativeToNative/nativeToWnative to wstringToString/stringToWstring
Diffstat (limited to 'cpp/src/Slice/Preprocessor.cpp')
-rw-r--r-- | cpp/src/Slice/Preprocessor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/Slice/Preprocessor.cpp b/cpp/src/Slice/Preprocessor.cpp index da37e868ef9..07519ca2c34 100644 --- a/cpp/src/Slice/Preprocessor.cpp +++ b/cpp/src/Slice/Preprocessor.cpp @@ -14,7 +14,6 @@ #include <IceUtil/StringConverter.h> #include <IceUtil/FileUtil.h> #include <IceUtil/UUID.h> -#include <IceUtil/Unicode.h> #include <algorithm> #include <fstream> #include <sys/types.h> @@ -237,7 +236,7 @@ Slice::Preprocessor::preprocess(bool keepComments, const string& extraArgs) // Don't need to pass a wide string converter the wide string // come from Windows API. // - _cppFile = IceUtil::wnativeToNative(IceUtil::getProcessStringConverter(), 0, name); + _cppFile = IceUtil::wstringToString(name, IceUtil::getProcessStringConverter()); free(name); _cppHandle = IceUtilInternal::fopen(_cppFile, "w+"); } |