From b8ececb409cd94b24d71f29339e652857dd2063a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Feb 2018 17:10:36 +0200 Subject: drop old tools/gen methods in accessibility..formula Change-Id: I075e29173945200854f2ef8e420867871659766a Reviewed-on: https://gerrit.libreoffice.org/50446 Tested-by: Jenkins Reviewed-by: Noel Grandin --- emfio/source/reader/mtftools.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'emfio') diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx index a6caafd8cfe0..458386a3494f 100644 --- a/emfio/source/reader/mtftools.cxx +++ b/emfio/source/reader/mtftools.cxx @@ -1566,13 +1566,13 @@ namespace emfio if ( mnTextAlign & TA_RIGHT_CENTER ) { Point aDisplacement( ( ( mnTextAlign & TA_RIGHT_CENTER ) == TA_RIGHT ) ? nTextWidth : nTextWidth >> 1, 0 ); - Point().RotateAround(aDisplacement.X(), aDisplacement.Y(), maFont.GetOrientation()); + Point().RotateAround(aDisplacement, maFont.GetOrientation()); rPosition -= aDisplacement; } if( mnTextAlign & TA_UPDATECP ) { - Point().RotateAround(aActPosDelta.X(), aActPosDelta.Y(), maFont.GetOrientation()); + Point().RotateAround(aActPosDelta, maFont.GetOrientation()); maActPos = rPosition + aActPosDelta; } } @@ -1595,7 +1595,7 @@ namespace emfio for (sal_Int32 i = 0; i < rText.getLength(); ++i) { Point aCharDisplacement( i ? pDXArry[i-1] : 0, i ? pDYArry[i-1] : 0 ); - Point().RotateAround(aCharDisplacement.X(), aCharDisplacement.Y(), maFont.GetOrientation()); + Point().RotateAround(aCharDisplacement, maFont.GetOrientation()); mpGDIMetaFile->AddAction( new MetaTextArrayAction( rPosition + aCharDisplacement, OUString( rText[i] ), nullptr, 0, 1 ) ); } } -- cgit