summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-05-10 05:14:22 -0700
committerJoseph Powers <jpowers27@cox.net>2011-05-10 05:14:22 -0700
commit1bb5d16601e06afc030d638ddd41fb686dd2fa0f (patch)
treea8da9267f4a60fb9c59735165aa9cbd9056cf664 /extensions
parent3236c2c3af9355157c62f68fcbd429498f7f747b (diff)
GDIMetaFile cleanup
Plus trailing white space cleanup.
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/svg/svgaction.cxx4
1 files changed, 2 insertions, 2 deletions
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 );