From efe22f3fa2375c233b86d9a4556e2cd7eed85f9d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Feb 2018 17:12:50 +0200 Subject: drop old tools/gen methods in reportdesign..xmloff Change-Id: I398831c526ba51d861557fa6c13c0e2fb44dfbe0 Reviewed-on: https://gerrit.libreoffice.org/50447 Tested-by: Jenkins Reviewed-by: Noel Grandin --- tools/source/generic/point.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tools') diff --git a/tools/source/generic/point.cxx b/tools/source/generic/point.cxx index 0b3d06c4753b..1b470c6065ec 100644 --- a/tools/source/generic/point.cxx +++ b/tools/source/generic/point.cxx @@ -22,6 +22,16 @@ #include #include +void Point::RotateAround( Point& rPoint, + short nOrientation ) const +{ + long nX = rPoint.X(); + long nY = rPoint.Y(); + RotateAround(nX, nY, nOrientation); + rPoint.setX(nX); + rPoint.setY(nY); +} + void Point::RotateAround( long& rX, long& rY, short nOrientation ) const { -- cgit