summaryrefslogtreecommitdiff
path: root/cui/source/options/optdict.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/optdict.cxx')
-rw-r--r--cui/source/options/optdict.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx
index 339eaef3914b..c6ae57d78673 100644
--- a/cui/source/options/optdict.cxx
+++ b/cui/source/options/optdict.cxx
@@ -381,7 +381,7 @@ sal_uLong SvxEditDictionaryDialog::GetLBInsertPos(const OUString &rDicWord)
{
sal_uLong nPos = TREELIST_ENTRY_NOTFOUND;
- IntlWrapper aIntlWrapper( Application::GetSettings().GetLanguageTag() );
+ IntlWrapper aIntlWrapper(SvtSysLocale().GetUILanguageTag());
const CollatorWrapper* pCollator = aIntlWrapper.getCollator();
sal_uLong j;
for( j = 0; j < pWordsLB->GetEntryCount(); j++ )