diff options
author | David Tardon <dtardon@redhat.com> | 2010-10-11 10:40:16 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-10-11 10:40:16 +0200 |
commit | cdea822f6fef93cd1ad66a2f40a8b3bad8c43caf (patch) | |
tree | 2f78f76e1a96842e215ffbb9d4b3702e8e07f20b /cui/source/dialogs/cuigaldlg.cxx | |
parent | 0c5893833bb680123b3a241618028c14f8793ff7 (diff) |
#i114426# prevent possible use of a ref. to deleted LocaleDataWrapper
Diffstat (limited to 'cui/source/dialogs/cuigaldlg.cxx')
-rw-r--r-- | cui/source/dialogs/cuigaldlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx index a205db2a28c9..cc8c190f1c93 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 ); |