diff options
author | Andre Fischer <af@openoffice.org> | 2010-07-02 11:06:25 +0200 |
---|---|---|
committer | Andre Fischer <af@openoffice.org> | 2010-07-02 11:06:25 +0200 |
commit | a1e23a5bc46a35405cd5c547e3e12ed06fc5144d (patch) | |
tree | 3450ea5c49abc69a382d4c40ab3944783213eda9 /slideshow/source | |
parent | cda79d479c7e49216e9dd1fc175c20dd93b15640 (diff) |
impress193: #i112422# Applied patch that fixes clipping error.
Diffstat (limited to 'slideshow/source')
-rw-r--r-- | slideshow/source/engine/slide/layer.cxx | 4 |
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 |