SvxLanguageItem::PutValue: empty locale is not LANGUAGE_NONE
Change-Id: I8d788f53b54a7429124a653417d422db300238d7
This commit is contained in:
parent
da64cd182e
commit
cb523b62a4
1 changed files with 1 additions and 4 deletions
|
@ -2634,10 +2634,7 @@ bool SvxLanguageItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
|
|||
if(!(rVal >>= aLocale))
|
||||
return sal_False;
|
||||
|
||||
if (!aLocale.Language.isEmpty() || !aLocale.Country.isEmpty())
|
||||
SetValue( LanguageTag( aLocale ).getLanguageType( false));
|
||||
else
|
||||
SetValue(LANGUAGE_NONE);
|
||||
SetValue( LanguageTag( aLocale ).getLanguageType( false));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue