diff options
author | Eike Rathke <erack@redhat.com> | 2013-03-13 16:41:34 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-13 16:48:13 +0100 |
commit | dde0dcd553b676abcb41eaf3f9f1bf797907e22f (patch) | |
tree | 477266483fd0bf3baa35878dcc26bdf32ecd0948 /svl/source | |
parent | fb26196ce64979ab6dc6c82c0fbdeedb126a3433 (diff) |
resolved fdo#62278 test for LanguageTag equality resolving system locale
Change-Id: Ic50c6d02a3feaf72060defa50766b40b5dec1cf7
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index c2d105d46a44..c8bd75c4626f 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -972,7 +972,7 @@ sal_uInt32 SvNumberFormatter::ImpGenerateCL( LanguageType eLnge, bool bNoAdditio if (LocaleDataWrapper::areChecksEnabled()) { const LanguageTag& rLoadedLocale = xLocaleData->getLoadedLanguageTag(); - if ( rLoadedLocale != maLanguageTag ) + if ( !rLoadedLocale.equals( maLanguageTag, true) ) { OUString aMsg("SvNumerFormatter::ImpGenerateCL: locales don't match:"); LocaleDataWrapper::outputCheckMessage( xLocaleData->appendLocaleInfo( aMsg )); |