From dde0dcd553b676abcb41eaf3f9f1bf797907e22f Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 13 Mar 2013 16:41:34 +0100 Subject: resolved fdo#62278 test for LanguageTag equality resolving system locale Change-Id: Ic50c6d02a3feaf72060defa50766b40b5dec1cf7 --- svl/source/numbers/zforlist.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svl/source') 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 )); -- cgit