summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/helper/textinputstream.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/helper/textinputstream.cxx b/oox/source/helper/textinputstream.cxx
index f374cc920f81..5ecd73863a34 100644
--- a/oox/source/helper/textinputstream.cxx
+++ b/oox/source/helper/textinputstream.cxx
@@ -199,7 +199,8 @@ OUString TextInputStream::readToChar( sal_Unicode cChar, bool bIncludeChar )
const Reference< XComponentContext >& rxContext, const Reference< XInputStream >& rxInStrm, rtl_TextEncoding eTextEnc )
{
Reference< XTextInputStream > xTextStrm;
- const char* pcCharset = rtl_getMimeCharsetFromTextEncoding( eTextEnc );
+ // TODO JUL const char* pcCharset = rtl_getMimeCharsetFromTextEncoding( eTextEnc );
+ const char* pcCharset = rtl_getBestMimeCharsetFromTextEncoding( eTextEnc );
OSL_ENSURE( pcCharset, "TextInputStream::createXTextInputStream - unsupported text encoding" );
if( rxContext.is() && rxInStrm.is() && pcCharset ) try
{