diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-14 12:48:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-15 07:28:07 +0100 |
commit | 0d9f3f7628f88fa66aaeea1f7148db620e17e728 (patch) | |
tree | 51cd0289fa399fbc338e0701f7ee13be8d228eb1 /sd/source/ui/table/tablefunction.cxx | |
parent | c82802a9ee3514d0b98fbb3783abbc17ec02c3b6 (diff) |
loplugin:changetoolsgen in sd
Change-Id: I41c5510f95167fe028f219fb593f12b75709bd65
Reviewed-on: https://gerrit.libreoffice.org/49726
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/table/tablefunction.cxx')
-rw-r--r-- | sd/source/ui/table/tablefunction.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/table/tablefunction.cxx b/sd/source/ui/table/tablefunction.cxx index 5590f9e150df..1ae40890b3f2 100644 --- a/sd/source/ui/table/tablefunction.cxx +++ b/sd/source/ui/table/tablefunction.cxx @@ -181,8 +181,8 @@ void DrawViewShell::FuTable(SfxRequest& rReq) } aPos = aWinRect.Center(); - aPos.X() -= aSize.Width() / 2; - aPos.Y() -= aSize.Height() / 2; + aPos.setX( aPos.X() - aSize.Width() / 2 ); + aPos.setY( aPos.Y() - aSize.Height() / 2 ); aRect = ::tools::Rectangle(aPos, aSize); } |