diff options
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 04b65f16c3f9..67b25521ff43 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -2822,7 +2822,9 @@ rtl_TextEncoding SwWW8ImplReader::GetCurrentCharSet() rtl_TextEncoding eSrcCharSet = m_eHardCharSet; if (eSrcCharSet == RTL_TEXTENCODING_DONTKNOW) { - if (!m_aFontSrcCharSets.empty()) + if (!m_bVer67) + eSrcCharSet = GetCharSetFromLanguage(); + else if (!m_aFontSrcCharSets.empty()) eSrcCharSet = m_aFontSrcCharSets.top(); if ((eSrcCharSet == RTL_TEXTENCODING_DONTKNOW) && m_nCharFormat >= 0 && static_cast<size_t>(m_nCharFormat) < m_vColl.size() ) eSrcCharSet = m_vColl[m_nCharFormat].GetCharSet(); |