diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-10-14 05:23:43 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-10-14 05:23:43 +0000 |
commit | f066a08d62db69668b14d784d5d7355411243ff1 (patch) | |
tree | db48a5684a0117d51a99da097ac568f7fd7058cc /sax/source/expatwrap/xml2utf.cxx | |
parent | 3735d9d387398fd90ab63ce2b1367dd154bd0fb9 (diff) |
CWS-TOOLING: integrate CWS mba30fixes02
Diffstat (limited to 'sax/source/expatwrap/xml2utf.cxx')
-rw-r--r-- | sax/source/expatwrap/xml2utf.cxx | 21 |
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 ); |