summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-05-10 05:45:30 -0700
committerJoseph Powers <jpowers27@cox.net>2011-05-10 05:45:30 -0700
commita4983ccb979a2c6bd38c421cf9a208c52e80a7e8 (patch)
tree3d4bebda37c8815c0fd5243a2838e45f9575d6c6 /slideshow
parent5d48251907349f9c9ef4634c8d5c64a32df298d2 (diff)
GDIMetaFile cleanup
Plus trailing whitespace cleanup.
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/drawshapesubsetting.cxx2
-rw-r--r--slideshow/source/engine/shapes/gdimtftools.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/drawshapesubsetting.cxx b/slideshow/source/engine/shapes/drawshapesubsetting.cxx
index f0ede5bf4bea..622f90317a09 100644
--- a/slideshow/source/engine/shapes/drawshapesubsetting.cxx
+++ b/slideshow/source/engine/shapes/drawshapesubsetting.cxx
@@ -74,7 +74,7 @@ namespace slideshow
// init doctree vector
maActionClassVector.clear();
- maActionClassVector.reserve( mpMtf->GetActionCount() );
+ maActionClassVector.reserve( mpMtf->GetActionSize() );
// search metafile for text output
MetaAction* pCurrAct;
diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx
index 9e914c41c088..220738b33d9c 100644
--- a/slideshow/source/engine/shapes/gdimtftools.cxx
+++ b/slideshow/source/engine/shapes/gdimtftools.cxx
@@ -330,7 +330,7 @@ sal_Int32 getNextActionOffset( MetaAction * pCurrAct )
// (though this is currently not used from the
// DrawingLayer - shape transparency gradients
// don't affect shape text)
- return pAct->GetGDIMetaFile().GetActionCount();
+ return pAct->GetGDIMetaFile().GetActionSize();
}
default:
return 1;