emfio/source/reader/emfreader.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
New commits: commit 5d83e940f7636050891f52929ace29650025cd36 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Jul 25 12:13:48 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sun Jul 25 15:42:16 2021 +0200 ofz#36481 Timeout Change-Id: I0de9bf0a8b83af83ba31bdb75497e13ada4f7f4c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119480 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx index 1b9e8ec34326..c0aecda9f680 100644 --- a/emfio/source/reader/emfreader.cxx +++ b/emfio/source/reader/emfreader.cxx @@ -370,9 +370,12 @@ bool ImplReadRegion( basegfx::B2DPolyPolygon& rPolyPoly, SvStream& rStream, sal_ rPolyPoly.append( basegfx::utils::createPolygonFromRect( ::basegfx::B2DRectangle( nLeft, nTop, nRight, nBottom ) ) ); SAL_INFO("emfio", "\t\t" << i << " Left: " << nLeft << ", top: " << nTop << ", right: " << nRight << ", bottom: " << nBottom); } - rPolyPoly = basegfx::utils::solveCrossovers(rPolyPoly); - rPolyPoly = basegfx::utils::stripNeutralPolygons(rPolyPoly); - rPolyPoly = basegfx::utils::stripDispensablePolygons(rPolyPoly); + if (!utl::ConfigManager::IsFuzzing()) + { + rPolyPoly = basegfx::utils::solveCrossovers(rPolyPoly); + rPolyPoly = basegfx::utils::stripNeutralPolygons(rPolyPoly); + rPolyPoly = basegfx::utils::stripDispensablePolygons(rPolyPoly); + } return true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits