diff options
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. |