summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-01-29 13:22:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-01-29 17:59:26 +0100
commit0c7d0f718bdaf86c1f927a3063702002a28beda7 (patch)
treecb762bd3b8da99c4cb198679cb1a6449f5b6cc90 /svx/source
parentb2d73530b60e34c5b70bdeed34a6246ae8f8bdf6 (diff)
ofz: solveCrossovers performance is abysmal on large polygons
just give up on it for fuzzing purposes Change-Id: I8d91fa547d83bc2f28454812280b0a7054e05b62 Reviewed-on: https://gerrit.libreoffice.org/48835 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdobj.cxx3
1 files changed, 2 insertions, 1 deletions
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 <tools/diagnose_ex.h>
#include <tools/helpers.hxx>
#include <tools/line.hxx>
+#include <unotools/configmgr.hxx>
#include <vcl/graphictools.hxx>
#include <vcl/metaact.hxx>
#include <vcl/virdev.hxx>
@@ -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);