summaryrefslogtreecommitdiff
path: root/toolkit/source/helper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-21 14:43:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-22 07:22:33 +0100
commit8ec0f90a287febe661c89e098be457c5d593ded3 (patch)
treeb6facee7fd0cc0e77330c94202c4d75b788144ab /toolkit/source/helper
parent8e7226233940a201c76c6a43e0648603d17961f4 (diff)
loplugin:changetoolsgen in tools..toolkit
Change-Id: I3d87ee59258567b5a82cb459248539faea1b3ca9 Reviewed-on: https://gerrit.libreoffice.org/50101 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/source/helper')
-rw-r--r--toolkit/source/helper/vclunohelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx
index cd8a2e5c4e25..904e520fd0ea 100644
--- a/toolkit/source/helper/vclunohelper.cxx
+++ b/toolkit/source/helper/vclunohelper.cxx
@@ -179,8 +179,8 @@ tools::Polygon VCLUnoHelper::CreatePolygon( const css::uno::Sequence< sal_Int32
for ( sal_Int32 n = 0; n < nLen; n++ )
{
Point aPnt;
- aPnt.X() = pDataX[n];
- aPnt.Y() = pDataY[n];
+ aPnt.setX( pDataX[n] );
+ aPnt.setY( pDataY[n] );
aPoly[n] = aPnt;
}
return aPoly;