[Libreoffice-commits] .: cui/source
David Tardon
dtardon at kemper.freedesktop.org
Mon Oct 11 01:41:08 PDT 2010
cui/source/dialogs/cuigaldlg.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 229aa0d171e529c154438d980230ac38578387c2
Author: David Tardon <dtardon at redhat.com>
Date: Mon Oct 11 10:40:16 2010 +0200
#i114426# prevent possible use of a ref. to deleted LocaleDataWrapper
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index 9e07923..72b2bce 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -705,7 +705,8 @@ void TPGalleryThemeGeneral::SetXChgData( ExchangeData* _pData )
aFtMSShowContent.SetText( aOutStr );
// get locale wrapper (singleton)
- const LocaleDataWrapper& aLocaleData = SvtSysLocale().GetLocaleData();
+ const SvtSysLocale aSysLocale;
+ const LocaleDataWrapper& aLocaleData = aSysLocale.GetLocaleData();
// ChangeDate/Time
aAccess = aLocaleData.getDate( pData->aThemeChangeDate );
More information about the Libreoffice-commits
mailing list