From 3f12102dde34cf88275c7249df5b234f487c5026 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann <sbergman@redhat.com> Date: Thu, 12 Nov 2015 14:40:01 +0100 Subject: loplugin:nullptr Change-Id: I8df633d53d3669b073dd20b631adc50570a066dd --- sw/source/uibase/docvw/PostItMgr.cxx | 2 +- sw/source/uibase/docvw/SidebarWin.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/uibase/docvw') diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index 9622a108423c..9feb6913f855 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -1709,7 +1709,7 @@ bool SwPostItMgr::IsHit(const Point &aPointPixel) vcl::Window* SwPostItMgr::IsHitSidebarWindow(const Point& rPointLogic) { - vcl::Window* pRet = 0; + vcl::Window* pRet = nullptr; if (HasNotes() && ShowNotes()) { diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx index ee2ed58b4277..cdf68384a851 100644 --- a/sw/source/uibase/docvw/SidebarWin.cxx +++ b/sw/source/uibase/docvw/SidebarWin.cxx @@ -284,7 +284,7 @@ vcl::Window* SwSidebarWin::IsHitWindow(const Point& rPointLogic) Rectangle aRectangleLogic(EditWin().PixelToLogic(GetPosPixel()), EditWin().PixelToLogic(GetSizePixel())); if (aRectangleLogic.IsInside(rPointLogic)) return mpSidebarTextControl; - return 0; + return nullptr; } void SwSidebarWin::Draw(OutputDevice* pDev, const Point& rPt, const Size& rSz, DrawFlags nInFlags) -- cgit