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/test/Ice/stringConverter/Server.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/test/Ice/stringConverter/Server.cpp')
-rw-r--r-- | cpp/test/Ice/stringConverter/Server.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/stringConverter/Server.cpp b/cpp/test/Ice/stringConverter/Server.cpp index 4b9c6a78c20..7b0f9bcc978 100644 --- a/cpp/test/Ice/stringConverter/Server.cpp +++ b/cpp/test/Ice/stringConverter/Server.cpp @@ -31,14 +31,14 @@ public: throw Test::BadEncodingException(); } - return IceUtil::nativeToWnative(IceUtil::getProcessStringConverter(), - IceUtil::getProcessWstringConverter(), msg); + return IceUtil::stringToWstring(msg, IceUtil::getProcessStringConverter(), + IceUtil::getProcessWstringConverter()); } virtual string narrow(const wstring& wmsg, const Ice::Current&) { - return IceUtil::wnativeToNative(IceUtil::getProcessStringConverter(), - IceUtil::getProcessWstringConverter(), wmsg); + return IceUtil::wstringToString(wmsg, IceUtil::getProcessStringConverter(), + IceUtil::getProcessWstringConverter()); } virtual void shutdown(const Ice::Current& current) |