[ooo-build-commit] .: forms/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Oct 7 05:46:15 PDT 2010
forms/source/component/Currency.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 5785e41ec3646ba5c602a2054002340855bfc4f1
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Oct 7 12:10:24 2010 +0100
#i114425# fix a possible dangling reference
diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx
index b80b4b4..2f4cf4b 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;
More information about the ooo-build-commit
mailing list