summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-16 21:35:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-05-17 14:03:25 +0100
commit2b307d2796f45dc27846765ff0d485026779b6f7 (patch)
tree0c65c07f40490ee7da2b959e99a8218d891c077a /sal
parent120cd2b5789246d7992af7dacfd796a4fd3d8e05 (diff)
drop debug_oustring now that gdb pretty-printers exist
Change-Id: Ie7d17f0ceb2e549b84c0cc16768604511e0e51a5
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/all/utility.cxx40
1 files changed, 0 insertions, 40 deletions
diff --git a/sal/osl/all/utility.cxx b/sal/osl/all/utility.cxx
index 12e533bfface..20e3ce01cb4c 100644
--- a/sal/osl/all/utility.cxx
+++ b/sal/osl/all/utility.cxx
@@ -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: */