canvas/source/opengl/ogl_canvashelper.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
New commits: commit d10845d1f2200ee0a889264753ebb4f083b5b40b Author: Michael Jaumann <meta_...@yahoo.com> Date: Thu Jan 22 09:55:43 2015 +0000 related to last commit, forget a line :) Change-Id: I18b3b2046ac6ba54635a022c3268a5264cf6b05b diff --git a/canvas/source/opengl/ogl_canvashelper.cxx b/canvas/source/opengl/ogl_canvashelper.cxx index 7cdc7e6..58e8072 100644 --- a/canvas/source/opengl/ogl_canvashelper.cxx +++ b/canvas/source/opengl/ogl_canvashelper.cxx @@ -664,12 +664,14 @@ namespace oglcanvas // via OutDev::DrawPolyPolygon(), on/off fill would // generate off areas on those self-intersections. + const sal_uInt16 nSize( aStrokedPolyPoly.count() ); + for(sal_uInt32 i=0;i<nSize; ++i) { - ::basegfx::B2DPolyPolygon tempStrokedPoly; - tempStrokedPoly.append(aStrokedPolyPoly.getB2DPolygon(i)); + ::basegfx::B2DPolyPolygon aSingleStrokedPoly; + aSingleStrokedPoly.append(aStrokedPolyPoly.getB2DPolygon(i)); - rAct.maPolyPolys.push_back(tempStrokedPoly); + rAct.maPolyPolys.push_back(aSingleStrokedPoly); rAct.maPolyPolys.back().makeUnique(); // own copy, for thread safety rAct.maFunction = &lcl_fillPolyPolygon; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits