[Libreoffice-commits] core.git: sc/source

Stephan Bergmann sbergman at redhat.com
Wed Nov 11 07:49:37 PST 2015


 sc/source/core/data/attrib.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fd8c98861c94dfa572253b53809c49bbd975dfc0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Nov 11 16:49:10 2015 +0100

    loplugin:nullptr
    
    Change-Id: I6dea86675c3220386e3d64cf03e82c3f33ae00ce

diff --git a/sc/source/core/data/attrib.cxx b/sc/source/core/data/attrib.cxx
index 87e38d7..9072410 100644
--- a/sc/source/core/data/attrib.cxx
+++ b/sc/source/core/data/attrib.cxx
@@ -43,7 +43,7 @@ using namespace com::sun::star;
 
 
 SfxPoolItem* ScProtectionAttr::CreateDefault() { return new ScProtectionAttr; }
-SfxPoolItem* ScDoubleItem::CreateDefault() { DBG_ASSERT(false, "No ScDoubleItem factory available"); return 0; }
+SfxPoolItem* ScDoubleItem::CreateDefault() { DBG_ASSERT(false, "No ScDoubleItem factory available"); return nullptr; }
 
 /**
  * General Help Function


More information about the Libreoffice-commits mailing list