summaryrefslogtreecommitdiffstats
path: root/xmlsecurity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-10 00:26:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-11 09:03:31 +0100
commit9ebca0d77f3051e3525f502f0cdcfdc0819e4651 (patch)
treec0b1d8f63c24504c584d88ea345ba0c61d15265b /xmlsecurity
parentRemove unused test/sax (diff)
downloadcore-9ebca0d77f3051e3525f502f0cdcfdc0819e4651.tar.gz
core-9ebca0d77f3051e3525f502f0cdcfdc0819e4651.zip
callcatcher: remove unused xmlchar_to_ous
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/saxhelper.cxx15
1 files changed, 0 insertions, 15 deletions
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
@@ -65,21 +65,6 @@ xmlChar* ous_to_nxmlstr( const rtl::OUString& oustr, int& 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.
*/