summaryrefslogtreecommitdiff
path: root/sax/source/expatwrap/xml2utf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sax/source/expatwrap/xml2utf.cxx')
-rw-r--r--sax/source/expatwrap/xml2utf.cxx21
1 files changed, 1 insertions, 20 deletions
diff --git a/sax/source/expatwrap/xml2utf.cxx b/sax/source/expatwrap/xml2utf.cxx
index 4d936d895e90..63332684889d 100644
--- a/sax/source/expatwrap/xml2utf.cxx
+++ b/sax/source/expatwrap/xml2utf.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: xml2utf.cxx,v $
- * $Revision: 1.11 $
+ * $Revision: 1.11.10.1 $
*
* This file is part of OpenOffice.org.
*
@@ -372,12 +372,6 @@ Text2UnicodeConverter::Text2UnicodeConverter( const OString &sEncoding )
}
}
-Text2UnicodeConverter::Text2UnicodeConverter( rtl_TextEncoding encoding )
-{
- init( encoding );
-}
-
-
Text2UnicodeConverter::~Text2UnicodeConverter()
{
if( m_bInitialized )
@@ -470,19 +464,6 @@ Sequence<sal_Unicode> Text2UnicodeConverter::convert( const Sequence<sal_Int8> &
// Unicode2TextConverter
//
//----------------------------------------------
-Unicode2TextConverter::Unicode2TextConverter( const OString &sEncoding )
-{
- rtl_TextEncoding encoding = rtl_getTextEncodingFromMimeCharset( sEncoding.getStr() );
- if( RTL_TEXTENCODING_DONTKNOW == encoding ) {
- m_bCanContinue = sal_False;
- m_bInitialized = sal_False;
- }
- else {
- init( encoding );
- }
-
-}
-
Unicode2TextConverter::Unicode2TextConverter( rtl_TextEncoding encoding )
{
init( encoding );