summaryrefslogtreecommitdiff
path: root/basctl/source/dlged/managelang.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/dlged/managelang.cxx')
-rw-r--r--basctl/source/dlged/managelang.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/dlged/managelang.cxx b/basctl/source/dlged/managelang.cxx
index 61b41eb21ad7..b58b3266b178 100644
--- a/basctl/source/dlged/managelang.cxx
+++ b/basctl/source/dlged/managelang.cxx
@@ -61,7 +61,7 @@ namespace {
long nWidth = 0;
Reference< XBreakIterator > xBreakIter( vcl::unohelper::CreateBreakIterator() );
sal_Int32 nStartPos = 0;
- const Locale aLocale = Application::GetSettings().GetUILocale();
+ const Locale aLocale = Application::GetSettings().GetUILanguageTag().getLocale();
Boundary aBoundary = xBreakIter->getWordBoundary(
rText, nStartPos, aLocale, WordType::ANYWORD_IGNOREWHITESPACES, true );
@@ -341,7 +341,7 @@ void SetDefaultLanguageDialog::FillLanguageBox()
}
else
// preselect current UI language
- m_pLanguageLB->SelectLanguage( Application::GetSettings().GetUILanguage() );
+ m_pLanguageLB->SelectLanguage( Application::GetSettings().GetUILanguageTag().getLanguageType() );
}
void SetDefaultLanguageDialog::CalcInfoSize()