summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx2
1 files changed, 1 insertions, 1 deletions
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),