summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-12-18 18:08:09 +0100
committerEike Rathke <erack@redhat.com>2013-12-18 18:15:24 +0100
commit72c08bbb00ac9c10b9e41a693728be9814b64a83 (patch)
tree6f3ef4a0b163ddd7856ab0c0442120a6c65d2011 /unotools
parentd9168242f5f8800f88d4947bd1fbfc30a969429c (diff)
resolved fdo#72778 keep setting system locale and LanguageTag in sync
Change-Id: I3547786bf77b8f611bc08d0e52c66ac00e199f13 (cherry picked from commit cc54c08a66046c00af3713fbe5e69995ccb7f73b)
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/syslocaleoptions.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx
index 67c7de50d0fb..4126b26ca5b6 100644
--- a/unotools/source/config/syslocaleoptions.cxx
+++ b/unotools/source/config/syslocaleoptions.cxx
@@ -401,7 +401,7 @@ void SvtSysLocaleOptions_Impl::SetLocaleString( const OUString& rStr )
{
m_aLocaleString = rStr;
MakeRealLocale();
- MsLangId::setConfiguredSystemLanguage( m_aRealLocale.getLanguageType() );
+ LanguageTag::setConfiguredSystemLanguage( m_aRealLocale.getLanguageType() );
SetModified();
sal_uLong nHint = SYSLOCALEOPTIONS_HINT_LOCALE;
if ( m_aCurrencyString.isEmpty() )
@@ -418,7 +418,7 @@ void SvtSysLocaleOptions_Impl::SetUILocaleString( const OUString& rStr )
// as we can't switch UILocale at runtime, we only store changes in the configuration
MakeRealUILocale();
- MsLangId::setConfiguredSystemLanguage( m_aRealUILocale.getLanguageType() );
+ LanguageTag::setConfiguredSystemLanguage( m_aRealUILocale.getLanguageType() );
SetModified();
NotifyListeners( SYSLOCALEOPTIONS_HINT_UILOCALE );
}