summaryrefslogtreecommitdiff
path: root/toolkit/source/helper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 14:29:05 +0200
committerNoel Grandin <noel@peralex.com>2015-05-29 08:48:41 +0200
commitafcf1ecee1af1312551583b9fc860c1881ba2134 (patch)
tree5b932308905d86f01f9f73aec0ae0d95836079c3 /toolkit/source/helper
parentabb774722230ce2b55f2e1f1528fcd0514ba83e1 (diff)
loplugin:loopvartoosmall
Change-Id: I1e9768c08af0bc7caac6a39c13842ee9d8ad962c
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 d8245c88fcaf..53cf47473005 100644
--- a/toolkit/source/helper/vclunohelper.cxx
+++ b/toolkit/source/helper/vclunohelper.cxx
@@ -173,11 +173,11 @@ OutputDevice* VCLUnoHelper::GetOutputDevice( const ::com::sun::star::uno::Refere
Polygon VCLUnoHelper::CreatePolygon( const ::com::sun::star::uno::Sequence< sal_Int32 >& DataX, const ::com::sun::star::uno::Sequence< sal_Int32 >& DataY )
{
- sal_uInt32 nLen = DataX.getLength();
+ sal_Int32 nLen = DataX.getLength();
const sal_Int32* pDataX = DataX.getConstArray();
const sal_Int32* pDataY = DataY.getConstArray();
Polygon aPoly( (sal_uInt16) nLen );
- for ( sal_uInt16 n = 0; n < nLen; n++ )
+ for ( sal_Int32 n = 0; n < nLen; n++ )
{
Point aPnt;
aPnt.X() = pDataX[n];