sw/source/uibase/docvw/PostItMgr.cxx | 2 +- sw/source/uibase/docvw/SidebarWin.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 3f12102dde34cf88275c7249df5b234f487c5026 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Nov 12 14:40:01 2015 +0100 loplugin:nullptr Change-Id: I8df633d53d3669b073dd20b631adc50570a066dd diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index 9622a10..9feb691 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 ee2ed58..cdf6838 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits