diff options
Diffstat (limited to 'sw/source/uibase')
-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) |