summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorSophie Su <sea0721moon@gmail.com>2016-08-28 18:37:49 +0800
committerEike Rathke <erack@redhat.com>2016-08-31 12:53:48 +0000
commit48e1f5028c5e507f1343bc695ec7e1079fd177cf (patch)
tree29d82f6d04d2f4c1ae65e802dc78d74bebdb6373 /cui
parent677a0b459b8c1ad749969c4bb65b8d78cdf26cdc (diff)
tdf#93333 in AutoCorrectDialog list also CJK languages if enabled
Change-Id: If203511e6645848544895d2f0813f3f362a8e336 Reviewed-on: https://gerrit.libreoffice.org/28437 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/autocdlg.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 489ef2a00c03..00363a51e0fd 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -114,6 +114,8 @@ OfaAutoCorrDlg::OfaAutoCorrDlg(vcl::Window* pParent, const SfxItemSet* _pSet )
if( SvtLanguageOptions().IsCTLFontEnabled() )
nLangList |= SvxLanguageListFlags::CTL;
+ if( SvtLanguageOptions().IsCJKFontEnabled() )
+ nLangList |= SvxLanguageListFlags::CJK;
m_pLanguageLB->SetLanguageList( nLangList, true, true );
m_pLanguageLB->SelectLanguage( LANGUAGE_NONE );
sal_Int32 nPos = m_pLanguageLB->GetSelectEntryPos();