From 28f4bee7bd7378141d8569186162e1a3166eb012 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:25:17 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: I7fc4b4d5c895f241cfb052b009e943e073f3befe --- include/svtools/ivctrl.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/svtools/ivctrl.hxx') diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx index 9e4c4bc3ab84..fbd2e599aa3b 100644 --- a/include/svtools/ivctrl.hxx +++ b/include/svtools/ivctrl.hxx @@ -113,8 +113,8 @@ class SvxIconChoiceCtrlEntry { this->pblink->pflink = this->pflink; this->pflink->pblink = this->pblink; - this->pflink = 0; - this->pblink = 0; + this->pflink = nullptr; + this->pblink = nullptr; } public: @@ -265,7 +265,7 @@ public: SvxIconChoiceCtrlEntry* InsertEntry( const OUString& rText, const Image& rImage, sal_uLong nPos = CONTAINER_APPEND, - const Point* pPos = 0, + const Point* pPos = nullptr, SvxIconViewFlags nFlags = SvxIconViewFlags::NONE ); @@ -300,7 +300,7 @@ public: SvxIconChoiceCtrlEntry* GetSelectedEntry() const; #ifdef DBG_UTIL - void SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIconChoiceCtrlEntry* pEntry = 0 ); + void SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIconChoiceCtrlEntry* pEntry = nullptr ); #endif bool AutoFontColor () { return _bAutoFontColor; } -- cgit