Kaydet (Commit) 3f12102d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:nullptr

Change-Id: I8df633d53d3669b073dd20b631adc50570a066dd
üst 9f454979
...@@ -1709,7 +1709,7 @@ bool SwPostItMgr::IsHit(const Point &aPointPixel) ...@@ -1709,7 +1709,7 @@ bool SwPostItMgr::IsHit(const Point &aPointPixel)
vcl::Window* SwPostItMgr::IsHitSidebarWindow(const Point& rPointLogic) vcl::Window* SwPostItMgr::IsHitSidebarWindow(const Point& rPointLogic)
{ {
vcl::Window* pRet = 0; vcl::Window* pRet = nullptr;
if (HasNotes() && ShowNotes()) if (HasNotes() && ShowNotes())
{ {
......
...@@ -284,7 +284,7 @@ vcl::Window* SwSidebarWin::IsHitWindow(const Point& rPointLogic) ...@@ -284,7 +284,7 @@ vcl::Window* SwSidebarWin::IsHitWindow(const Point& rPointLogic)
Rectangle aRectangleLogic(EditWin().PixelToLogic(GetPosPixel()), EditWin().PixelToLogic(GetSizePixel())); Rectangle aRectangleLogic(EditWin().PixelToLogic(GetPosPixel()), EditWin().PixelToLogic(GetSizePixel()));
if (aRectangleLogic.IsInside(rPointLogic)) if (aRectangleLogic.IsInside(rPointLogic))
return mpSidebarTextControl; return mpSidebarTextControl;
return 0; return nullptr;
} }
void SwSidebarWin::Draw(OutputDevice* pDev, const Point& rPt, const Size& rSz, DrawFlags nInFlags) void SwSidebarWin::Draw(OutputDevice* pDev, const Point& rPt, const Size& rSz, DrawFlags nInFlags)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment