Kaydet (Commit) 2b307d27 authored tarafından Caolán McNamara's avatar Caolán McNamara

drop debug_oustring now that gdb pretty-printers exist

Change-Id: Ie7d17f0ceb2e549b84c0cc16768604511e0e51a5
üst 120cd2b5
......@@ -61,44 +61,4 @@ public:
static OGlobalTimer aGlobalTimer;
}
extern "C"
{
void debug_ustring(rtl_uString* ustr)
{
sal_Char* psz=0;
rtl_String* str=0;
if ( ustr != 0 )
{
rtl_uString2String( &str,
rtl_uString_getStr(ustr),
rtl_uString_getLength(ustr),
RTL_TEXTENCODING_UTF8,
OUSTRING_TO_OSTRING_CVTFLAGS );
psz = rtl_string_getStr(str);
}
fprintf(stderr,"'%s'\n",psz);
if ( str != 0 )
{
rtl_string_release(str);
}
return;
}
}
void debug_oustring(rtl::OUString& ustr)
{
debug_ustring(ustr.pData);
return;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment