diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-07 12:10:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-07 12:10:24 +0100 |
commit | f791a7ba711f68843779b5929f15cec611b8c545 (patch) | |
tree | 2519828b7ecc21b2a8ff2432e88f305cae9dccb6 /forms | |
parent | Webservice URLs now point to documentfoundation (diff) | |
download | core-f791a7ba711f68843779b5929f15cec611b8c545.tar.gz core-f791a7ba711f68843779b5929f15cec611b8c545.zip |
#i114425# fix a possible dangling reference
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/Currency.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx index 89a3b93b4a43..c08d4ea3e36c 100644 --- a/forms/source/component/Currency.cxx +++ b/forms/source/component/Currency.cxx @@ -104,7 +104,8 @@ void OCurrencyModel::implConstruct() try { // get the system international informations - const LocaleDataWrapper& aLocaleInfo = SvtSysLocale().GetLocaleData(); + const SvtSysLocale aSysLocale; + const LocaleDataWrapper& aLocaleInfo = aSysLocale.GetLocaleData(); ::rtl::OUString sCurrencySymbol; sal_Bool bPrependCurrencySymbol; |