diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-05-10 05:14:22 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-05-10 05:14:22 -0700 |
commit | 1bb5d16601e06afc030d638ddd41fb686dd2fa0f (patch) | |
tree | a8da9267f4a60fb9c59735165aa9cbd9056cf664 | |
parent | 3236c2c3af9355157c62f68fcbd429498f7f747b (diff) |
GDIMetaFile cleanup
Plus trailing white space cleanup.
-rw-r--r-- | extensions/source/svg/svgaction.cxx | 4 |
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 ); |