From 0c7d0f718bdaf86c1f927a3063702002a28beda7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 29 Jan 2018 13:22:18 +0000 Subject: ofz: solveCrossovers performance is abysmal on large polygons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit just give up on it for fuzzing purposes Change-Id: I8d91fa547d83bc2f28454812280b0a7054e05b62 Reviewed-on: https://gerrit.libreoffice.org/48835 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/svdraw/svdobj.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'svx/source') diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx index a582eda43e54..f2008be71cb3 100644 --- a/svx/source/svdraw/svdobj.cxx +++ b/svx/source/svdraw/svdobj.cxx @@ -49,6 +49,7 @@ #include #include #include +#include #include #include #include @@ -2369,7 +2370,7 @@ SdrObject* SdrObject::ImpConvertToContourObj(SdrObject* pRet, bool bForceLineDas } // check for fill rsults - if(!aExtractedLineFills.empty()) + if (!aExtractedLineFills.empty() && !utl::ConfigManager::IsFuzzing()) { // merge to a single tools::PolyPolygon (OR) aMergedLineFillPolyPolygon = basegfx::utils::mergeToSinglePolyPolygon(aExtractedLineFills); -- cgit