diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-08 13:56:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-10 11:20:45 +0100 |
commit | 12b584e4a9695a7516f239cd33950656212ed0c8 (patch) | |
tree | cc32dc82c17e24e618f2561f92b4d720bc099c08 /svx/source/svdraw/svdoedge.cxx | |
parent | 6815354b286bbc6e686fea12fada6d4d18ffb64f (diff) |
loplugin:indentation in svx
Change-Id: Ifea8e24fb76025715ab2ff495d3949223584070a
Reviewed-on: https://gerrit.libreoffice.org/67567
Tested-by: Jenkins
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index cc7e61c9dfe9..4a4bec00afc8 100644 --- a/svx/source/svdraw/svdoedge.cxx +++ b/svx/source/svdraw/svdoedge.cxx @@ -901,8 +901,8 @@ XPolygon SdrEdgeObj::ImpCalcEdgeTrack(const Point& rPt1, long nAngle1, const too if (bUnt2) aXP[2].setY(aBewareRect2.Bottom() ); //+=500; if (pnQuality!=nullptr) { long nQ=std::abs(aXP[1].X()-aXP[0].X())+std::abs(aXP[1].Y()-aXP[0].Y()); - nQ+=std::abs(aXP[2].X()-aXP[1].X())+std::abs(aXP[2].Y()-aXP[1].Y()); - nQ+=std::abs(aXP[3].X()-aXP[2].X())+std::abs(aXP[3].Y()-aXP[2].Y()); + nQ+=std::abs(aXP[2].X()-aXP[1].X())+std::abs(aXP[2].Y()-aXP[1].Y()); + nQ+=std::abs(aXP[3].X()-aXP[2].X())+std::abs(aXP[3].Y()-aXP[2].Y()); *pnQuality=nQ; } if (bInfo) { @@ -1979,7 +1979,7 @@ bool SdrEdgeObj::applySpecialDrag(SdrDragStat& rDragStat) rDragStat.GetView()->HideConnectMarker(); } - return true; + return true; } OUString SdrEdgeObj::getSpecialDragComment(const SdrDragStat& rDrag) const |