From 28034eaf925aa50d379dd5cffccc20d7edc95aec Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:23:17 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4 --- include/sfx2/ctrlitem.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/sfx2/ctrlitem.hxx') diff --git a/include/sfx2/ctrlitem.hxx b/include/sfx2/ctrlitem.hxx index 9913d208e60a..c333c94cf972 100644 --- a/include/sfx2/ctrlitem.hxx +++ b/include/sfx2/ctrlitem.hxx @@ -58,7 +58,7 @@ public: virtual ~SfxControllerItem(); virtual void dispose(); - void Bind( sal_uInt16 nNewId, SfxBindings * = 0); // Register in SfxBindings + void Bind( sal_uInt16 nNewId, SfxBindings * = nullptr); // Register in SfxBindings void UnBind(); void ReBind(); bool IsBound() const; @@ -79,7 +79,7 @@ public: static SfxItemState GetItemState( const SfxPoolItem* pState ); SAL_DLLPRIVATE bool IsBindable_Impl() const - { return pBindings != NULL; } + { return pBindings != nullptr; } SAL_DLLPRIVATE void BindInternal_Impl( sal_uInt16 nNewId, SfxBindings* ); }; -- cgit v1.2.3