From 5c41870b1df650b874069095fab2d29e93c76d3f Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Fri, 16 May 2014 10:42:54 -0400 Subject: Renamed wnativeToNative/nativeToWnative to wstringToString/stringToWstring --- cpp/src/Slice/Preprocessor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpp/src/Slice/Preprocessor.cpp') 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 #include #include -#include #include #include #include @@ -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+"); } -- cgit v1.2.3