diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-26 14:11:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-27 08:03:26 +0200 |
commit | 8ce64dbb3d7875c00963ae257d53f2b7b58fc4ad (patch) | |
tree | 070a1a2f11d553511c24423290829713c1f2fba6 /svx/source/svdraw/svdoedge.cxx | |
parent | 781a30e938c58c4d91d08f8c6f9e3f8745682d72 (diff) |
loplugin:constparams in svx
and fix a bug in the plugin itself when calling operator's like the one
on std::function<>
Change-Id: I1617607107eeff06785c1841f69e13ad2926218e
Reviewed-on: https://gerrit.libreoffice.org/40446
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdoedge.cxx')
-rw-r--r-- | svx/source/svdraw/svdoedge.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index 9ef591618ca2..c2081a03df84 100644 --- a/svx/source/svdraw/svdoedge.cxx +++ b/svx/source/svdraw/svdoedge.cxx @@ -588,7 +588,7 @@ void SdrEdgeObj::ImpRecalcEdgeTrack() } } -SdrEscapeDirection SdrEdgeObj::ImpCalcEscAngle(SdrObject* pObj, const Point& rPt) +SdrEscapeDirection SdrEdgeObj::ImpCalcEscAngle(SdrObject const * pObj, const Point& rPt) { if (pObj==nullptr) return SdrEscapeDirection::ALL; tools::Rectangle aR(pObj->GetSnapRect()); |