vcl115: #i114425# fix a possible dangling reference (thanks dtardon!)

This commit is contained in:
Philipp Lohmann [pl]
2010-09-20 13:13:18 +02:00
parent 290f953d76
commit a510f6ba8a

View File

@@ -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;