From 9e50e5f82927742c56e89258b80bc8cd93bb7e3b Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 12 Jun 2013 15:02:44 +0200 Subject: [PATCH] rtl_string2UString_status() - Wrong TextEncoding Change-Id: I5d0efc9006cac379a5c03a61817cf989227a06ff --- writerfilter/source/rtftok/rtfdocumentimpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index c70447efe43f..36067006e9d5 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -4689,7 +4689,7 @@ RTFParserState::RTFParserState(RTFDocumentImpl *pDocumentImpl) aTableCellsAttributes(), aTabAttributes(), aCurrentColor(), - nCurrentEncoding(0), + nCurrentEncoding(rtl_getTextEncodingFromWindowsCharset(0)), nUc(1), nCharsToSkip(0), nBinaryToRead(0),