summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-02 15:29:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-02 15:30:45 +0100
commita6e6eb8b37ba431df575be4799114bb821f54b0d (patch)
tree9185921bcb8d1323232ba13ad44721f1e3170875
parentd526f5d739bbf923a6c882cb9a92a15f590a3388 (diff)
Related: tdf#93461 relax loop detection some more
original tdf#66141 continues to not fail with this modification, but hopefully contains sufficient wriggle room to verify if relaxing this has an effect on the report of continued misplacement of caption text in a private RH document Change-Id: Ic1a339619912127009e760aa2ade9f29a545f7ec
-rw-r--r--sw/source/core/text/frmform.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/frmform.cxx b/sw/source/core/text/frmform.cxx
index aac690a304f0..53e6ae0e9230 100644
--- a/sw/source/core/text/frmform.cxx
+++ b/sw/source/core/text/frmform.cxx
@@ -1904,7 +1904,7 @@ bool SwTextFrm::FormatQuick( bool bForceQuickFormat )
else
nLoopProtection = 0;
nStart = nNewStart;
- const bool bWillEndlessInsert = nLoopProtection > 2;
+ const bool bWillEndlessInsert = nLoopProtection > 250;
SAL_WARN_IF(bWillEndlessInsert, "sw", "loop detection triggered");
if ((!bWillEndlessInsert) // Check for special case: line is invisible,
// like in too thin table cell: tdf#66141