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/source | |
parent | ace9c26ac4b02856214ef95d4a0ead0b9aecc288 (diff) |
#i114425# fix a possible dangling reference
Diffstat (limited to 'forms/source')
-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; |