diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-05-20 15:39:16 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-05-22 19:14:01 +0200 |
commit | cfaf93d2b3efdbbebc609b96447ada791276fa51 (patch) | |
tree | 7e5fefabc6e77cbe258633bf1229cb64c3337636 /canvas | |
parent | 12bea6c897822964ad4705418da54411cb15749e (diff) |
remove unnecessary polypolygon subdivide
As the comment already says, it's not necessary. And it is partially
responsible for tdf#133016 by splitting an area into smaller parts,
which then do not line up completely when AA-ed.
Change-Id: If35e2118a0cd9c9b315b9666165c51659a9434e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94578
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/vcl/canvashelper.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx index 9f1808c858e7..17930a1a758d 100644 --- a/canvas/source/vcl/canvashelper.cxx +++ b/canvas/source/vcl/canvashelper.cxx @@ -322,12 +322,6 @@ namespace vclcanvas ::basegfx::B2DPolyPolygon aPolyPoly( ::basegfx::unotools::b2DPolyPolygonFromXPolyPolygon2D(xPolyPolygon) ); - if( aPolyPoly.areControlPointsUsed() ) - { - // AW: Not needed for ApplyLineDashing anymore; should be removed - aPolyPoly = ::basegfx::utils::adaptiveSubdivideByAngle(aPolyPoly); - } - // apply dashing, if any if( strokeAttributes.DashArray.hasElements() ) { |