diff options
author | Eike Rathke <erack@redhat.com> | 2016-10-17 22:06:07 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-10-17 22:06:39 +0200 |
commit | 75c2ecc2497ec48aeead48da0bd271fee5dc83fd (patch) | |
tree | 99234bb6efb26ef30a244dfdd3f9da718280ef98 /editeng/source/items/textitem.cxx | |
parent | ab6f04ded935d314c5b763fef1015b1ed06c1db5 (diff) |
let LanguageTag::convertToLocale() decide when to create a temporary
Change-Id: Iaefddb13192aff1aad912ac9f908c3d12236b94d
Diffstat (limited to 'editeng/source/items/textitem.cxx')
-rw-r--r-- | editeng/source/items/textitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index 8ffcb44253de..f05529d676f7 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -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; } |