diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2010-09-20 13:13:18 +0200 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2010-09-20 13:13:18 +0200 |
commit | a510f6ba8a5e935b17c5aa6bf5b410bf0fc53ea6 (patch) | |
tree | f09daf931b167a1b4dd9b02995fff834f2660ffa /forms | |
parent | 290f953d767f678792ef3cb4d8ed35d7cb51b9c3 (diff) |
vcl115: #i114425# fix a possible dangling reference (thanks dtardon!)
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; |