Kaydet (Commit) d9c2523b authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Noel Grandin

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/54202Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst d07f9e4d
...@@ -272,10 +272,6 @@ namespace o3tl ...@@ -272,10 +272,6 @@ namespace o3tl
template<> struct typed_flags<ScCloneFlags> : is_typed_flags<ScCloneFlags, 0x0007> {}; template<> struct typed_flags<ScCloneFlags> : is_typed_flags<ScCloneFlags, 0x0007> {};
} }
#ifndef DELETEZ
#define DELETEZ(pPtr) { delete pPtr; pPtr = 0; }
#endif
enum CellType enum CellType
{ {
CELLTYPE_NONE, CELLTYPE_NONE,
......
...@@ -25,10 +25,6 @@ ...@@ -25,10 +25,6 @@
#include <vcl/svapp.hxx> #include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx> #include <vcl/wrkwin.hxx>
#ifndef DELETEZ
#define DELETEZ(pPtr) ( delete pPtr, pPtr = 0 )
#endif
#if defined(DBG_UTIL) #if defined(DBG_UTIL)
class SfxStack class SfxStack
......
...@@ -30,10 +30,6 @@ ...@@ -30,10 +30,6 @@
class SfxPoolItem; class SfxPoolItem;
class SfxItemPoolUser; class SfxItemPoolUser;
#ifndef DELETEZ
#define DELETEZ(pPtr) { delete pPtr; pPtr = 0; }
#endif
static const sal_uInt32 SFX_ITEMS_DEFAULT = 0xfffffffe; static const sal_uInt32 SFX_ITEMS_DEFAULT = 0xfffffffe;
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment