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 : is_typed_flags {}; } -#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 #include -#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; /**