diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-12 14:40:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-12 14:40:01 +0100 |
commit | 3f12102dde34cf88275c7249df5b234f487c5026 (patch) | |
tree | af71141c1c9c3238fa4a182c1deb2d787389e4a7 /sw | |
parent | 9f4549797294ebe0bd22d786770da847fc6b916e (diff) |
loplugin:nullptr
Change-Id: I8df633d53d3669b073dd20b631adc50570a066dd
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/docvw/PostItMgr.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/docvw/SidebarWin.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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) |