summaryrefslogtreecommitdiff
path: root/emfio
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-27 17:10:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-01 07:19:10 +0100
commitb8ececb409cd94b24d71f29339e652857dd2063a (patch)
treef732ff1cfec95c0d3eca06d3c906e67402a02b73 /emfio
parenta54a3afdb7da42bd603892d1c9b2fcdd7b405e8f (diff)
drop old tools/gen methods in accessibility..formula
Change-Id: I075e29173945200854f2ef8e420867871659766a Reviewed-on: https://gerrit.libreoffice.org/50446 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'emfio')
-rw-r--r--emfio/source/reader/mtftools.cxx6
1 files changed, 3 insertions, 3 deletions
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 ) );
}
}