diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-05-10 05:56:57 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-05-10 07:44:41 -0700 |
commit | 403be6168f2f49f1a3585990cb98b60f65516b0d (patch) | |
tree | de52281603feb3c235d746e026cd46e350accca2 /svx/source/dialog | |
parent | 47ce6dbc631082c74578faae11cd534704545640 (diff) |
GDIMetaFile cleanup
Plus trailing whitespace cleanup.
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/_bmpmask.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/_bmpmask.cxx b/svx/source/dialog/_bmpmask.cxx index 674b9d18491d..83d9839c1f21 100644 --- a/svx/source/dialog/_bmpmask.cxx +++ b/svx/source/dialog/_bmpmask.cxx @@ -830,7 +830,7 @@ GDIMetaFile SvxBmpMask::ImpMask( const GDIMetaFile& rMtf ) } // Investigate actions and if necessary replace colors - for( sal_uIntPtr nAct = 0UL, nActCount = rMtf.GetActionCount(); nAct < nActCount; nAct++ ) + for( size_t nAct = 0, nActCount = rMtf.GetActionSize(); nAct < nActCount; nAct++ ) { MetaAction* pAction = rMtf.GetAction( nAct ); @@ -1081,7 +1081,7 @@ GDIMetaFile SvxBmpMask::ImpReplaceTransparency( const GDIMetaFile& rMtf, const C GDIMetaFile aMtf; const MapMode& rPrefMap = rMtf.GetPrefMapMode(); const Size& rPrefSize = rMtf.GetPrefSize(); - const sal_uIntPtr nActionCount = rMtf.GetActionCount(); + const size_t nActionCount = rMtf.GetActionSize(); aVDev.EnableOutput( sal_False ); aMtf.Record( &aVDev ); @@ -1093,7 +1093,7 @@ GDIMetaFile SvxBmpMask::ImpReplaceTransparency( const GDIMetaFile& rMtf, const C // retrieve one action at the time; first // set the whole area to the replacement color. aVDev.DrawRect( Rectangle( rPrefMap.GetOrigin(), rPrefSize ) ); - for ( sal_uIntPtr i = 0; i < nActionCount; i++ ) + for ( size_t i = 0; i < nActionCount; i++ ) { MetaAction* pAct = rMtf.GetAction( i ); |