Kaydet (Commit) 75c2ecc2 authored tarafından Eike Rathke's avatar Eike Rathke

let LanguageTag::convertToLocale() decide when to create a temporary

Change-Id: Iaefddb13192aff1aad912ac9f908c3d12236b94d
üst ab6f04de
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment