resolved fdo#62278 test for LanguageTag equality resolving system locale
Change-Id: Ic50c6d02a3feaf72060defa50766b40b5dec1cf7
This commit is contained in:
@@ -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 ));
|
||||
|
Reference in New Issue
Block a user