summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-02-27 10:39:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-02-27 14:43:44 +0000
commitda68460e03dc9857a24f2afeeb34f191f20f29ac (patch)
tree7ac8f522dd84e57a52ee1de6e39865339f463dc6 /svx/source/svdraw
parentbc72cbf2e481fe04f610f3bf799ba606d9387ffa (diff)
fix small leak in SdrGlobalData
Change-Id: I2b651aad847cf083659df34c94653c73460ddfd3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147872 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdetc.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx
index b642f8e69117..a5a83b475c59 100644
--- a/svx/source/svdraw/svdetc.cxx
+++ b/svx/source/svdraw/svdetc.cxx
@@ -60,7 +60,6 @@ using namespace ::com::sun::star;
// Global data of the DrawingEngine
SdrGlobalData::SdrGlobalData()
- : pSysLocale(nullptr)
{
if (!utl::ConfigManager::IsFuzzing())
{
@@ -69,12 +68,6 @@ SdrGlobalData::SdrGlobalData()
}
}
-const SvtSysLocale* SdrGlobalData::GetSysLocale()
-{
- if ( !pSysLocale )
- pSysLocale = new SvtSysLocale;
- return pSysLocale;
-}
const LocaleDataWrapper* SdrGlobalData::GetLocaleData()
{
return &GetSysLocale()->GetLocaleData();