[Libreoffice-commits] .: canvas/source
Radek DoulÃk
rodo at kemper.freedesktop.org
Thu Feb 17 09:48:07 PST 2011
canvas/source/cairo/cairo_canvashelper.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dc3e6b46400c42e0148925c31de43edf9c6fbacf
Author: Radek Doulik <rodo at novell.com>
Date: Thu Feb 17 18:45:18 2011 +0100
Revert "fix cairo canvas regression - do not access polygon points outside range"
- it is not needed anymore
This reverts commit a898a8cb077c05b1085da8254e66f61aa265b7dc.
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx
index 29cf38e..88daf4b 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -1074,7 +1074,7 @@ namespace cairocanvas
{
const sal_uInt32 nNextIndex((b + 1) % nPointCount);
aEdge.setB2DPoint(1, aCandidate.getB2DPoint(nNextIndex));
- aEdge.setNextControlPoint(0, aCandidate.getNextControlPoint(b % nPointCount));
+ aEdge.setNextControlPoint(0, aCandidate.getNextControlPoint(b));
aEdge.setPrevControlPoint(1, aCandidate.getPrevControlPoint(nNextIndex));
doPolyPolygonImplementation( basegfx::B2DPolyPolygon(aEdge),
More information about the Libreoffice-commits
mailing list