summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-12 11:15:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-12 22:04:55 +0200
commitd4df251320ba266ff3fe3da9e3b991c18ea50f5c (patch)
tree99d099231c1e44d714ec485baea7be6456817070 /svtools
parent2cb40c77cd05c1cb5a85468ff9801051829871e4 (diff)
expand out DELETEZ
Change-Id: Ia69fb105c6cc661ac94a360d47655b3faa9d6bb8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100618 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/ebbcontrols.cxx2
-rw-r--r--svtools/source/config/accessibilityoptions.cxx3
2 files changed, 3 insertions, 2 deletions
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx
index b15927af9e58..1ac4605a3096 100644
--- a/svtools/source/brwbox/ebbcontrols.cxx
+++ b/svtools/source/brwbox/ebbcontrols.cxx
@@ -525,7 +525,7 @@ namespace svt
EditCellController::~EditCellController( )
{
if ( m_bOwnImplementation )
- DELETEZ( m_pEditImplementation );
+ delete m_pEditImplementation;
}
void EditCellController::SaveValue()
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx
index 43fa4287f9e0..2790296c424d 100644
--- a/svtools/source/config/accessibilityoptions.cxx
+++ b/svtools/source/config/accessibilityoptions.cxx
@@ -379,7 +379,8 @@ SvtAccessibilityOptions::~SvtAccessibilityOptions()
{
//if( sm_pSingleImplConfig->IsModified() )
// sm_pSingleImplConfig->Commit();
- DELETEZ( sm_pSingleImplConfig );
+ delete sm_pSingleImplConfig;
+ sm_pSingleImplConfig = nullptr;
}
}