summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-08 18:09:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-08 18:10:24 +0100
commit1c67621d53e0b2cbeb6f0fc37bf66c1bc3b2a0eb (patch)
tree5408e8a7a609065fda4a9bf226370fe4ed54d154
parent340ca294d43f2c5b9fda1afbf178609a015f71e3 (diff)
An odd way to say "nullptr"
Change-Id: I6d83714b78c4d149dff5ea56483d7afa6d0eb677
-rw-r--r--include/svtools/grfmgr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 607ecb5c01b6..fcfa66176cdc 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -32,7 +32,7 @@
// AutoSwap defines
-#define GRFMGR_AUTOSWAPSTREAM_LINK (reinterpret_cast<SvStream*>(0x00000000UL))
+#define GRFMGR_AUTOSWAPSTREAM_LINK nullptr
#define GRFMGR_AUTOSWAPSTREAM_LOADED reinterpret_cast<SvStream*>(sal_IntPtr(-3))
#define GRFMGR_AUTOSWAPSTREAM_TEMP reinterpret_cast<SvStream*>(sal_IntPtr(-2))
#define GRFMGR_AUTOSWAPSTREAM_NONE reinterpret_cast<SvStream*>(sal_IntPtr(-1))