diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-16 14:42:22 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-16 14:42:36 +0100 |
commit | 7ccdadb57c18e53e887ac294a26f3756e7843927 (patch) | |
tree | 33aaaa4d868a21546c61a7018e2424c7b3109ac9 /unotools/source/config | |
parent | 2eb9470c14b665f69c87035fe33a71860fcf2600 (diff) |
use LanguageTag::reset()
Change-Id: I592cb042465ceda960a0b34dfe3eb6d669868acf
Diffstat (limited to 'unotools/source/config')
-rw-r--r-- | unotools/source/config/syslocaleoptions.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx index b05837e8754f..10c7574d5623 100644 --- a/unotools/source/config/syslocaleoptions.cxx +++ b/unotools/source/config/syslocaleoptions.cxx @@ -291,11 +291,11 @@ void SvtSysLocaleOptions_Impl::MakeRealLocale() if (m_aLocaleString.isEmpty()) { LanguageType nLang = MsLangId::getSystemLanguage(); - m_aRealLocale = LanguageTag( nLang); + m_aRealLocale.reset( nLang); } else { - m_aRealLocale = LanguageTag( m_aLocaleString); + m_aRealLocale.reset( m_aLocaleString); } } @@ -304,11 +304,11 @@ void SvtSysLocaleOptions_Impl::MakeRealUILocale() if (m_aUILocaleString.isEmpty()) { LanguageType nLang = MsLangId::getSystemUILanguage(); - m_aRealUILocale = LanguageTag( nLang); + m_aRealUILocale.reset( nLang); } else { - m_aRealUILocale = LanguageTag( m_aUILocaleString); + m_aRealUILocale.reset( m_aUILocaleString); } } |