diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 83110b89d80d..1af6069de741 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -1975,7 +1975,7 @@ void RtfAttributeOutput::CharLanguage( const SvxLanguageItem& rLanguage ) m_aStyles.append((sal_Int32)rLanguage.GetLanguage()); break; case RES_CHRATR_CTL_LANGUAGE: - m_aStyles.append(OOO_STRING_SVTOOLS_RTF_LANG); + m_aStyles.append(OOO_STRING_SVTOOLS_RTF_ALANG); m_aStyles.append((sal_Int32)rLanguage.GetLanguage()); break; } diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 6862c5d7bcbc..1f222d5e07d6 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -1921,6 +1921,7 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam) case RTF_CHARSCALEX: nSprm = NS_sprm::LN_CCharScale; break; case RTF_LANG: nSprm = NS_sprm::LN_CRgLid0; break; case RTF_LANGFE: nSprm = NS_sprm::LN_CRgLid1; break; + case RTF_ALANG: nSprm = NS_sprm::LN_CLidBi; break; default: break; } if (nSprm > 0)