From 1bb5d16601e06afc030d638ddd41fb686dd2fa0f Mon Sep 17 00:00:00 2001 From: Joseph Powers Date: Tue, 10 May 2011 05:14:22 -0700 Subject: GDIMetaFile cleanup Plus trailing white space cleanup. --- extensions/source/svg/svgaction.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions') diff --git a/extensions/source/svg/svgaction.cxx b/extensions/source/svg/svgaction.cxx index 324fefa16b6f..8e8a7342d976 100644 --- a/extensions/source/svg/svgaction.cxx +++ b/extensions/source/svg/svgaction.cxx @@ -1050,7 +1050,7 @@ void SVGActionWriter::ImplWriteActions( const GDIMetaFile& rMtf, const NMSP_RTL: { ImplAcquireContext(); - for( sal_uLong i = 0, nCount = rMtf.GetActionCount(); i < nCount; i++ ) + for( size_t i = 0, nCount = rMtf.GetActionSize(); i < nCount; i++ ) { const MetaAction* pAction = rMtf.GetAction( i ); const sal_uInt16 nType = pAction->GetType(); @@ -1254,7 +1254,7 @@ void SVGActionWriter::ImplWriteActions( const GDIMetaFile& rMtf, const NMSP_RTL: const GDIMetaFile aGDIMetaFile( pA->GetSubstitute() ); sal_Bool bFound = sal_False; - for( sal_uLong j = 0, nCount2 = aGDIMetaFile.GetActionCount(); ( j < nCount2 ) && !bFound; j++ ) + for( size_t j = 0, nCount2 = aGDIMetaFile.GetActionSize(); ( j < nCount2 ) && !bFound; j++ ) { const MetaAction* pSubstAct = aGDIMetaFile.GetAction( j ); -- cgit