Removed test code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2010-10-05 06:33:34 +00:00
parent 30f6914ba1
commit f13d956e6a

View File

@@ -798,14 +798,7 @@ bool OutputString(wxOutputStream& stream,
wxUnusedVar(convMem);
if ( !convFile )
convFile = &wxConvUTF8;
#if 1
// JACS test
const wxWX2MBbuf buf(str.mb_str(*convFile));
if (!buf.length())
return false;
stream.Write((const char*)buf, strlen((const char*)buf));
#else
const wxScopedCharBuffer buf(str.mb_str(*convFile));
if ( !buf.length() )
{
@@ -815,8 +808,6 @@ bool OutputString(wxOutputStream& stream,
}
stream.Write(buf, buf.length());
#endif
#else // !wxUSE_UNICODE
if ( convFile && convMem )
{