diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-04 16:00:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-05 09:22:36 +0200 |
commit | 7b0d277e04f178ade10dfd8ee4f1cab2e36dc41b (patch) | |
tree | eb45badf8def41a540d399a0a190541d57b2e9a5 /basegfx | |
parent | bce3ed11a4838865b53dccdde887d4cba0d48111 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/test/basegfx2d.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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); |