summaryrefslogtreecommitdiff
path: root/include/svx/svdtrans.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-20 11:03:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-21 06:04:19 +0100
commit924c0e34fdc36cd44100dafc2c68656ce32374e6 (patch)
tree05548e06d476b1244abb3ef83013514c7f991b3e /include/svx/svdtrans.hxx
parentfd20935bb819cb24e71f4f91b97149c35bc5987d (diff)
loplugin:changetoolsgen in svx
and fix the regex in the plugin for matching += operator Change-Id: I26b3e3fac1d4ef3e756cc9431b983b5f27ee76d6 Reviewed-on: https://gerrit.libreoffice.org/50037 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/svdtrans.hxx')
-rw-r--r--include/svx/svdtrans.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdtrans.hxx b/include/svx/svdtrans.hxx
index f3e25203ff2e..201f268482a8 100644
--- a/include/svx/svdtrans.hxx
+++ b/include/svx/svdtrans.hxx
@@ -55,7 +55,7 @@ namespace svx
}
inline void MoveRect(tools::Rectangle& rRect, const Size& S) { rRect.Move(S.Width(),S.Height()); }
-inline void MovePoint(Point& rPnt, const Size& S) { rPnt.X()+=S.Width(); rPnt.Y()+=S.Height(); }
+inline void MovePoint(Point& rPnt, const Size& S) { rPnt.AdjustX(S.Width()); rPnt.AdjustY(S.Height()); }
inline void MovePoly(tools::Polygon& rPoly, const Size& S) { rPoly.Move(S.Width(),S.Height()); }
void MoveXPoly(XPolygon& rPoly, const Size& S);