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 /drawinglayer | |
parent | 47ce6dbc631082c74578faae11cd534704545640 (diff) |
GDIMetaFile cleanup
Plus trailing whitespace cleanup.
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive2d/epsprimitive2d.cxx | 2 | ||||
-rw-r--r-- | drawinglayer/source/primitive2d/metafileprimitive2d.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drawinglayer/source/primitive2d/epsprimitive2d.cxx b/drawinglayer/source/primitive2d/epsprimitive2d.cxx index 8d8d757491ca..b399b98e33ba 100644 --- a/drawinglayer/source/primitive2d/epsprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/epsprimitive2d.cxx @@ -44,7 +44,7 @@ namespace drawinglayer Primitive2DSequence xRetval; const GDIMetaFile& rSubstituteContent = getMetaFile(); - if(rSubstituteContent.GetActionCount()) + if( rSubstituteContent.GetActionSize() ) { // the default decomposition will use the Metafile replacement visualisation. // To really use the Eps data, a renderer has to know and interpret this primitive diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx index 4822a0db89f1..b9b261ab70d4 100644 --- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx @@ -1662,9 +1662,9 @@ namespace PropertyHolders& rPropertyHolders, const drawinglayer::geometry::ViewInformation2D& rViewInformation) { - const sal_uInt32 nCount(rMetaFile.GetActionCount()); + const size_t nCount(rMetaFile.GetActionSize()); - for(sal_uInt32 nAction(0); nAction < nCount; nAction++) + for(size_t nAction(0); nAction < nCount; nAction++) { MetaAction* pAction = rMetaFile.GetAction(nAction); @@ -2140,7 +2140,7 @@ namespace aTextLayouterDevice.addTextRectActions( rRectangle, pA->GetText(), pA->GetStyle(), aGDIMetaFile); - if(aGDIMetaFile.GetActionCount()) + if(aGDIMetaFile.GetActionSize()) { // cerate sub-content drawinglayer::primitive2d::Primitive2DSequence xSubContent; @@ -2980,7 +2980,7 @@ namespace { const GDIMetaFile& rContent = pA->GetGDIMetaFile(); - if(rContent.GetActionCount()) + if(rContent.GetActionSize()) { // create the sub-content with no embedding specific to the // sub-metafile, this seems not to be used. |