diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-11 16:07:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-11 16:07:35 +0100 |
commit | 8bae6345bff0508f5f01e0061d7b576f36e6961d (patch) | |
tree | cb187d2ea50c7aa39a1f4c1f66faa0b395105de8 /svx | |
parent | 54c679af63b87dd83b6da07201b68728bded4ba9 (diff) |
loplugin:nullptr
Change-Id: Id0cab3b90ea9f3de7dc63f58ef247ba512af79f4
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/rulritem.cxx | 2 | ||||
-rw-r--r-- | svx/source/items/SmartTagItem.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/rulritem.cxx b/svx/source/dialog/rulritem.cxx index 502eeb98d95c..9fbdcf49c73d 100644 --- a/svx/source/dialog/rulritem.cxx +++ b/svx/source/dialog/rulritem.cxx @@ -29,7 +29,7 @@ SfxPoolItem* SvxPagePosSizeItem::CreateDefault() { return new SvxPagePosSizeItem SfxPoolItem* SvxLongLRSpaceItem::CreateDefault() { return new SvxLongLRSpaceItem; } SfxPoolItem* SvxLongULSpaceItem::CreateDefault() { return new SvxLongULSpaceItem; } SfxPoolItem* SvxColumnItem::CreateDefault() { return new SvxColumnItem; } -SfxPoolItem* SvxObjectItem::CreateDefault() { DBG_ASSERT(false, "No SvxObjectItem factory available"); return 0; } +SfxPoolItem* SvxObjectItem::CreateDefault() { DBG_ASSERT(false, "No SvxObjectItem factory available"); return nullptr; } /* SvxLongLRSpaceItem */ diff --git a/svx/source/items/SmartTagItem.cxx b/svx/source/items/SmartTagItem.cxx index fd64d96c6aa9..565174ef6e1c 100644 --- a/svx/source/items/SmartTagItem.cxx +++ b/svx/source/items/SmartTagItem.cxx @@ -26,7 +26,7 @@ using namespace ::com::sun::star; -SfxPoolItem* SvxSmartTagItem::CreateDefault() { DBG_ASSERT(false, "No SvxSmartTagItem factory available"); return 0; } +SfxPoolItem* SvxSmartTagItem::CreateDefault() { DBG_ASSERT(false, "No SvxSmartTagItem factory available"); return nullptr; } SvxSmartTagItem::SvxSmartTagItem( const sal_uInt16 nId, const css::uno::Sequence < css::uno::Sequence< css::uno::Reference< css::smarttags::XSmartTagAction > > >& rActionComponentsSequence, |