From 7b0d277e04f178ade10dfd8ee4f1cab2e36dc41b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 4 Apr 2018 16:00:05 +0200 Subject: fix bug in b2dpolypolygon::testTrapezoidHelper ever since commit 82b56544a7a53528970632d086c3cfd8ef879335 Date: Wed Jan 1 10:29:40 2014 +0000 basegfx: accelerate Trapezoid subdivision by avoiding allocations. found by my new unusedvariablemore plugin Change-Id: Ie02f4cf576094fb1cd814efed452ae0985814065 Reviewed-on: https://gerrit.libreoffice.org/52386 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basegfx/test/basegfx2d.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'basegfx') diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx index a840e283132f..82131b417b23 100644 --- a/basegfx/test/basegfx2d.cxx +++ b/basegfx/test/basegfx2d.cxx @@ -692,6 +692,7 @@ public: { B2DPoint aPoint(aPolygon.getB2DPoint(i)); aPoint += B2DPoint(0.5-getRandomOrdinal(1),0.5-getRandomOrdinal(1)); + aPolygonOffset.append(aPoint); } B2DPolyPolygon aPolyPolygon; aPolyPolygon.append(aPolygon); -- cgit