summaryrefslogtreecommitdiff
path: root/include/svx/svdtrans.hxx
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 /include/svx/svdtrans.hxx
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 'include/svx/svdtrans.hxx')
-rw-r--r--include/svx/svdtrans.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/svx/svdtrans.hxx b/include/svx/svdtrans.hxx
index 201f268482a8..97bf7a5456a4 100644
--- a/include/svx/svdtrans.hxx
+++ b/include/svx/svdtrans.hxx
@@ -54,8 +54,6 @@ namespace svx
inline long Round(double a) { return a>0.0 ? static_cast<long>(a+0.5) : -static_cast<long>((-a)+0.5); }
}
-inline void MoveRect(tools::Rectangle& rRect, const Size& S) { rRect.Move(S.Width(),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);