diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-05-01 18:46:14 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-05-01 18:48:44 +0200 |
commit | d04fb45caa46db829d21a7f9b96878655ce0f479 (patch) | |
tree | ed202018c2c5051a6b1db9fd6cf9823e00613e20 /oox | |
parent | 43f22de7c5fae8ea10b0f403f811cb72cb993eb0 (diff) |
Resolves: fdo#49324 (Does not recognize VBA macro in JAPANESE...)
Thank you Caolán for your advice!
Change-Id: I72c5ae37d04961e261b275ba4625d3a376629d49
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/helper/textinputstream.cxx | 3 |
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 { |