diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-20 11:03:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-21 06:04:19 +0100 |
commit | 924c0e34fdc36cd44100dafc2c68656ce32374e6 (patch) | |
tree | 05548e06d476b1244abb3ef83013514c7f991b3e /svx/source/svdraw/svdglev.cxx | |
parent | fd20935bb819cb24e71f4f91b97149c35bc5987d (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 'svx/source/svdraw/svdglev.cxx')
-rw-r--r-- | svx/source/svdraw/svdglev.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdglev.cxx b/svx/source/svdraw/svdglev.cxx index 86f3212841b1..64da87b646ab 100644 --- a/svx/source/svdraw/svdglev.cxx +++ b/svx/source/svdraw/svdglev.cxx @@ -347,8 +347,8 @@ void SdrGlueEditView::ImpTransformMarkedGluePoints(PGlueTrFunc pTrFunc, const vo static void ImpMove(Point& rPt, const void* p1, const void* /*p2*/, const void* /*p3*/, const void* /*p4*/) { - rPt.X()+=static_cast<const Size*>(p1)->Width(); - rPt.Y()+=static_cast<const Size*>(p1)->Height(); + rPt.AdjustX(static_cast<const Size*>(p1)->Width() ); + rPt.AdjustY(static_cast<const Size*>(p1)->Height() ); } void SdrGlueEditView::MoveMarkedGluePoints(const Size& rSiz, bool bCopy) |