From 9ebca0d77f3051e3525f502f0cdcfdc0819e4651 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 10 Jul 2011 00:26:10 +0100 Subject: callcatcher: remove unused xmlchar_to_ous --- xmlsecurity/source/xmlsec/saxhelper.cxx | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/source/xmlsec/saxhelper.cxx b/xmlsecurity/source/xmlsec/saxhelper.cxx index 4c172296f869..9463251d3c0b 100644 --- a/xmlsecurity/source/xmlsec/saxhelper.cxx +++ b/xmlsecurity/source/xmlsec/saxhelper.cxx @@ -64,21 +64,6 @@ xmlChar* ous_to_nxmlstr( const rtl::OUString& oustr, int& length ) return xmlStrndup( ( xmlChar* )ostr.getStr(), length ) ; } -/** - * The input parameter isn't necessaryly NULL terminated. - */ -rtl::OUString xmlchar_to_ous( const xmlChar* pChar, int length ) -{ - if( pChar != NULL ) - { - return rtl::OUString( ( sal_Char* )pChar , length , RTL_TEXTENCODING_UTF8 ) ; - } - else - { - return rtl::OUString() ; - } -} - /** * The return value and the referenced value must be NULL terminated. * The application has the responsibilty to deallocte the return value. -- cgit