diff options
Diffstat (limited to 'cpp/test/Ice/stringConverter/Server.cpp')
-rw-r--r-- | cpp/test/Ice/stringConverter/Server.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cpp/test/Ice/stringConverter/Server.cpp b/cpp/test/Ice/stringConverter/Server.cpp index da9dae3f8a5..ce592e19ba9 100644 --- a/cpp/test/Ice/stringConverter/Server.cpp +++ b/cpp/test/Ice/stringConverter/Server.cpp @@ -24,13 +24,6 @@ public: virtual wstring widen(ICE_IN(string) msg, const Ice::Current&) { - const Ice::Byte* cmsg = reinterpret_cast<const Ice::Byte*>(msg.c_str()); - - if(!IceUtil::isLegalUTF8Sequence(cmsg, cmsg + msg.size())) - { - throw Test::BadEncodingException(); - } - return IceUtil::stringToWstring(msg, IceUtil::getProcessStringConverter(), IceUtil::getProcessWstringConverter()); } |