summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-05-13 23:29:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-14 08:00:18 +0200
commitd9c2523b0c83d0d8cf5874e33f45e018a77aebe4 (patch)
tree577fbaa721782aba48e79de7ec037d432c1bd583
parentd07f9e4d4ac6fb4d9074605b034e81cb7353f417 (diff)
Drop module-specific defines of DELETEZ
The one in tools/solar.h is the only one needed. Change-Id: I7a4e041694fb61329d16f300be4f986eb8d4ec48 Reviewed-on: https://gerrit.libreoffice.org/54202 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sc/inc/global.hxx4
-rw-r--r--sfx2/source/inc/sfxtypes.hxx4
-rw-r--r--svl/source/inc/poolio.hxx4
3 files changed, 0 insertions, 12 deletions
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index 912164234597..bbdd26d9d38a 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -272,10 +272,6 @@ namespace o3tl
template<> struct typed_flags<ScCloneFlags> : is_typed_flags<ScCloneFlags, 0x0007> {};
}
-#ifndef DELETEZ
-#define DELETEZ(pPtr) { delete pPtr; pPtr = 0; }
-#endif
-
enum CellType
{
CELLTYPE_NONE,
diff --git a/sfx2/source/inc/sfxtypes.hxx b/sfx2/source/inc/sfxtypes.hxx
index d731086ba5fd..6ee10ed0e41f 100644
--- a/sfx2/source/inc/sfxtypes.hxx
+++ b/sfx2/source/inc/sfxtypes.hxx
@@ -25,10 +25,6 @@
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
-#ifndef DELETEZ
-#define DELETEZ(pPtr) ( delete pPtr, pPtr = 0 )
-#endif
-
#if defined(DBG_UTIL)
class SfxStack
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx
index 359b88c863dd..59513517daba 100644
--- a/svl/source/inc/poolio.hxx
+++ b/svl/source/inc/poolio.hxx
@@ -30,10 +30,6 @@
class SfxPoolItem;
class SfxItemPoolUser;
-#ifndef DELETEZ
-#define DELETEZ(pPtr) { delete pPtr; pPtr = 0; }
-#endif
-
static const sal_uInt32 SFX_ITEMS_DEFAULT = 0xfffffffe;
/**