[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Fri Oct 2 07:31:07 PDT 2015
sw/source/core/text/frmform.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a6e6eb8b37ba431df575be4799114bb821f54b0d
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Oct 2 15:29:16 2015 +0100
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
diff --git a/sw/source/core/text/frmform.cxx b/sw/source/core/text/frmform.cxx
index aac690a..53e6ae0 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
More information about the Libreoffice-commits
mailing list