From 8ec0f90a287febe661c89e098be457c5d593ded3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 21 Feb 2018 14:43:13 +0200 Subject: loplugin:changetoolsgen in tools..toolkit Change-Id: I3d87ee59258567b5a82cb459248539faea1b3ca9 Reviewed-on: https://gerrit.libreoffice.org/50101 Tested-by: Jenkins Reviewed-by: Noel Grandin --- toolkit/source/helper/vclunohelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toolkit/source/helper') 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; -- cgit