summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotxtr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-23 15:52:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-26 07:20:49 +0100
commit9bc8714308b6f4b85a4c756229ac8b670d009f42 (patch)
tree61210bfb945863595225f39cda711155cfe978ae /svx/source/svdraw/svdotxtr.cxx
parent736ebd9a184752bcb756754e3af6b80cd2f4c480 (diff)
move MovePoint and MoveRect into Rectangle and Point
Change-Id: Ie75c7c10288da00aac89479879e0b9fb1a4459b2 Reviewed-on: https://gerrit.libreoffice.org/50247 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdotxtr.cxx')
-rw-r--r--svx/source/svdraw/svdotxtr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdotxtr.cxx b/svx/source/svdraw/svdotxtr.cxx
index 6ecdbcb47b22..40eca1077e38 100644
--- a/svx/source/svdraw/svdotxtr.cxx
+++ b/svx/source/svdraw/svdotxtr.cxx
@@ -94,9 +94,9 @@ long SdrTextObj::GetShearAngle(bool /*bVertical*/) const
void SdrTextObj::NbcMove(const Size& rSiz)
{
- MoveRect(maRect,rSiz);
- MoveRect(aOutRect,rSiz);
- MoveRect(maSnapRect,rSiz);
+ maRect.Move(rSiz);
+ aOutRect.Move(rSiz);
+ maSnapRect.Move(rSiz);
SetRectsDirty(true);
}