let LanguageTag::convertToLocale() decide when to create a temporary
Change-Id: Iaefddb13192aff1aad912ac9f908c3d12236b94d
This commit is contained in:
@@ -2412,7 +2412,7 @@ bool SvxLanguageItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
|
||||
rVal <<= (sal_Int16)(GetValue());
|
||||
break;
|
||||
case MID_LANG_LOCALE:
|
||||
lang::Locale aRet( LanguageTag( GetValue()).getLocale( false));
|
||||
lang::Locale aRet( LanguageTag::convertToLocale( GetValue(), false));
|
||||
rVal <<= aRet;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user