diff options
author | Eike Rathke <erack@redhat.com> | 2016-08-09 12:44:12 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-08-09 12:51:12 +0200 |
commit | 7c7df2afa93f706cc72b8154b816d3edee1e7eff (patch) | |
tree | 62e2b12995d8d2f9941ea4097fae9cd63604386c /svl | |
parent | 0d386267458b881f15e555186b52f7e2517ceca1 (diff) |
remove the duplicated system locale check
... which is handled by LanguageTag::convertToLanguageType() anyway.
Change-Id: I26656d64fdccf9c06d24c53e1e473e355732e00f
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/numfmuno.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx index ed122b5b65da..cd7880488d81 100644 --- a/svl/source/numbers/numfmuno.cxx +++ b/svl/source/numbers/numfmuno.cxx @@ -94,10 +94,6 @@ static const SfxItemPropertyMapEntry* lcl_GetNumberSettingsPropertyMap() static LanguageType lcl_GetLanguage( const lang::Locale& rLocale ) { - // empty language -> LANGUAGE_SYSTEM - if ( rLocale.Language.isEmpty() ) - return LANGUAGE_SYSTEM; - LanguageType eRet = LanguageTag::convertToLanguageType( rLocale, false); if ( eRet == LANGUAGE_NONE ) eRet = LANGUAGE_SYSTEM; //! or throw an exception? |