summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-07-29 08:11:42 +0200
committerobo <obo@openoffice.org>2010-07-29 08:11:42 +0200
commit59d9b458f9c96024afaeb3ab66088edebfd70d71 (patch)
tree86aaa53e2ace0ea24d5f99d29067bf125c3f0fc8 /slideshow
parent81b896e98847311537011e239bf0b7d287131965 (diff)
parentef05272548413db0482faf229e6f2653985001c1 (diff)
Integrate OOO330_m2 into DEV300 (merge)
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/slide/layer.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/slideshow/source/engine/slide/layer.cxx b/slideshow/source/engine/slide/layer.cxx
index be67b220962e..65f52f3b823f 100644
--- a/slideshow/source/engine/slide/layer.cxx
+++ b/slideshow/source/engine/slide/layer.cxx
@@ -36,6 +36,8 @@
#include <basegfx/range/b2dpolyrange.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
+#include <basegfx/polygon/b2dpolypolygontools.hxx>
+#include <basegfx/polygon/b2dpolypolygoncutter.hxx>
#include "layer.hxx"
@@ -288,6 +290,8 @@ namespace slideshow
// clipping, and render each shape that intersects with
// the calculated update area
::basegfx::B2DPolyPolygon aClip( maUpdateAreas.solveCrossovers() );
+ aClip = ::basegfx::tools::stripNeutralPolygons(aClip);
+ aClip = ::basegfx::tools::stripDispensablePolygons(aClip, false);
// actually, if there happen to be shapes with zero
// update area in the maUpdateAreas vector, the