summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-04-05 19:07:05 +0200
committerPetr Mladek <pmladek@suse.cz>2011-04-05 19:07:05 +0200
commitc87019c1a938d7bb4ba1575f79df20f94a619ca9 (patch)
tree76f3d71ea01469e16f365f145cdeb464983aebd9 /canvas
parent149bb82c280a7846981793714d9111a83119798d (diff)
parentef29f115c0e99c631ec7e037f4b39e961dc3c858 (diff)
Merge remote-tracking branch 'origin/libreoffice-3-3' into libreoffice-3-4
Conflicts: svtools/source/control/toolbarmenu.cxx vcl/inc/vcl/gdimtf.hxx vcl/inc/vcl/settings.hxx vcl/unx/inc/saldata.hxx vcl/unx/kde4/KDESalGraphics.cxx
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/cairo/cairo_canvashelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx
index 5de2d4ccf789..2f1e39b8a19e 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -1079,7 +1079,7 @@ namespace cairocanvas
{
const sal_uInt32 nNextIndex((b + 1) % nPointCount);
aEdge.setB2DPoint(1, aCandidate.getB2DPoint(nNextIndex));
- aEdge.setNextControlPoint(0, aCandidate.getNextControlPoint(b));
+ aEdge.setNextControlPoint(0, aCandidate.getNextControlPoint(b % nPointCount));
aEdge.setPrevControlPoint(1, aCandidate.getPrevControlPoint(nNextIndex));
doPolyPolygonImplementation( basegfx::B2DPolyPolygon(aEdge),