Commits

Anonymous committed 7a2c441

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

  • Participants
  • Parent commits 2abe4fa

Comments (0)

Files changed (1)

forms/source/component/Currency.cxx

 		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;