summaryrefslogtreecommitdiff
path: root/cui/source/options
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options')
-rw-r--r--cui/source/options/optasian.cxx2
-rw-r--r--cui/source/options/optdict.cxx2
-rw-r--r--cui/source/options/optgdlg.cxx4
-rw-r--r--cui/source/options/optgenrl.cxx2
-rw-r--r--cui/source/options/optlingu.cxx2
-rw-r--r--cui/source/options/optupdt.cxx2
6 files changed, 7 insertions, 7 deletions
diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx
index 20a6794835b3..ed20545e12fe 100644
--- a/cui/source/options/optasian.cxx
+++ b/cui/source/options/optasian.cxx
@@ -290,7 +290,7 @@ void SvxAsianLayoutPage::Reset( const SfxItemSet& )
if(USHRT_MAX == eLastUsedLanguageTypeForForbiddenCharacters)
{
eLastUsedLanguageTypeForForbiddenCharacters = SvxLocaleToLanguage(
- Application::GetSettings().GetLocale() );
+ Application::GetSettings().GetLanguageTag().getLocale() );
if (MsLangId::isSimplifiedChinese(eLastUsedLanguageTypeForForbiddenCharacters))
eLastUsedLanguageTypeForForbiddenCharacters = LANGUAGE_CHINESE_SIMPLIFIED;
else if (MsLangId::isTraditionalChinese(eLastUsedLanguageTypeForForbiddenCharacters))
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx
index e16644890006..091e166d7710 100644
--- a/cui/source/options/optdict.cxx
+++ b/cui/source/options/optdict.cxx
@@ -376,7 +376,7 @@ sal_uInt16 SvxEditDictionaryDialog::GetLBInsertPos(const String &rDicWord)
{
sal_uInt16 nPos = USHRT_MAX;
- IntlWrapper aIntlWrapper( ::comphelper::getProcessServiceFactory(), Application::GetSettings().GetLocale() );
+ IntlWrapper aIntlWrapper( ::comphelper::getProcessServiceFactory(), Application::GetSettings().GetLanguageTag().getLocale() );
const CollatorWrapper* pCollator = aIntlWrapper.getCollator();
sal_uInt16 j;
for( j = 0; j < aWordsLB.GetEntryCount(); j++ )
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 2bf4f0e79cee..38d050d55b24 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -1235,7 +1235,7 @@ OfaLanguagesTabPage::OfaLanguagesTabPage( Window* pParent, const SfxItemSet& rSe
String aUILang(aStr);
aUILang += rtl::OUString(" - ");
- aUILang += pLanguageTable->GetString( Application::GetSettings().GetUILanguage(), true );
+ aUILang += pLanguageTable->GetString( Application::GetSettings().GetUILanguageTag().getLanguageType(), true );
aUserInterfaceLB.InsertEntry(aUILang);
aUserInterfaceLB.SetEntryData(0, 0);
@@ -1697,7 +1697,7 @@ void OfaLanguagesTabPage::Reset( const SfxItemSet& rSet )
if (aDatePatternsString.isEmpty())
{
Locale aTempLocale;
- SvxLanguageToLocale( aTempLocale, Application::GetSettings().GetLanguage());
+ SvxLanguageToLocale( aTempLocale, Application::GetSettings().GetLanguageTag().getLanguageType());
LocaleDataWrapper aLocaleWrapper( aTempLocale );
aDatePatternsString = lcl_getDatePatternsConfigString( aLocaleWrapper);
}
diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx
index 72994ac146bf..5a1438b2073d 100644
--- a/cui/source/options/optgenrl.cxx
+++ b/cui/source/options/optgenrl.cxx
@@ -233,7 +233,7 @@ void SvxGeneralTabPage::CreateControls ()
{
// which language bit do we use? (see Lang and vRowInfo[] above)
unsigned LangBit;
- switch (LanguageType const eLang = Application::GetSettings().GetUILanguage())
+ switch (LanguageType const eLang = Application::GetSettings().GetUILanguageTag().getLanguageType())
{
case LANGUAGE_ENGLISH_US:
LangBit = Lang::US;
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index 05ee3ebf2887..d63a137cce5f 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -737,7 +737,7 @@ SvxLinguData_Impl::SvxLinguData_Impl() :
xLinguSrvcMgr = LinguServiceManager::create(comphelper::getComponentContext(xMSF));
Locale aCurrentLocale;
- LanguageType eLang = Application::GetSettings().GetLanguage();
+ LanguageType eLang = Application::GetSettings().GetLanguageTag().getLanguageType();
SvxLanguageToLocale(aCurrentLocale, eLang);
Sequence<Any> aArgs(2);//second arguments has to be empty!
aArgs.getArray()[0] <<= SvxGetLinguPropertySet();
diff --git a/cui/source/options/optupdt.cxx b/cui/source/options/optupdt.cxx
index b0f255f80ffe..c1539fccf9d2 100644
--- a/cui/source/options/optupdt.cxx
+++ b/cui/source/options/optupdt.cxx
@@ -133,7 +133,7 @@ void SvxOnlineUpdateTabPage::UpdateLastCheckedText()
aTime = Time( lastCheckedDT.Hours, lastCheckedDT.Minutes );
}
- LanguageType eUILang = Application::GetSettings().GetUILanguage();
+ LanguageType eUILang = Application::GetSettings().GetUILanguageTag().getLanguageType();
SvNumberFormatter *pNumberFormatter = new SvNumberFormatter( ::comphelper::getProcessServiceFactory(), eUILang );
String aTmpStr;
Color* pColor = NULL;