summaryrefslogtreecommitdiff
path: root/reportdesign
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 /reportdesign
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 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/StartMarker.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/StartMarker.cxx b/reportdesign/source/ui/report/StartMarker.cxx
index 2d9eda114000..09a118f41a97 100644
--- a/reportdesign/source/ui/report/StartMarker.cxx
+++ b/reportdesign/source/ui/report/StartMarker.cxx
@@ -85,8 +85,10 @@ void OStartMarker::dispose()
{
if ( osl_atomic_decrement(&s_nImageRefCount) == 0 )
{
- DELETEZ(s_pDefCollapsed);
- DELETEZ(s_pDefExpanded);
+ delete s_pDefCollapsed;
+ s_pDefCollapsed = nullptr;
+ delete s_pDefExpanded;
+ s_pDefExpanded = nullptr;
}
m_aVRuler.disposeAndClear();
m_aText.disposeAndClear();