[Libreoffice-commits] core.git: include/svtools

Stephan Bergmann sbergman at redhat.com
Thu Jan 8 09:10:51 PST 2015


 include/svtools/grfmgr.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1c67621d53e0b2cbeb6f0fc37bf66c1bc3b2a0eb
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jan 8 18:09:57 2015 +0100

    An odd way to say "nullptr"
    
    Change-Id: I6d83714b78c4d149dff5ea56483d7afa6d0eb677

diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 607ecb5..fcfa661 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))


More information about the Libreoffice-commits mailing list