Kaydet (Commit) e450bd6e authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Miklos Vajna

Related: tdf#93461 relax loop detection some more

original tdf#66141 continues to not fail with this modification, but original
reporter of the follow up problem has verified that relaxing this more fixes
the continued misplacement of caption text in a private RH document

(cherry picked from commit a6e6eb8b)

Change-Id: Ic1a339619912127009e760aa2ade9f29a545f7ec
Reviewed-on: https://gerrit.libreoffice.org/19173Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst f98d09c8
...@@ -1919,7 +1919,7 @@ bool SwTextFrm::FormatQuick( bool bForceQuickFormat ) ...@@ -1919,7 +1919,7 @@ bool SwTextFrm::FormatQuick( bool bForceQuickFormat )
else else
nLoopProtection = 0; nLoopProtection = 0;
nStart = nNewStart; nStart = nNewStart;
const bool bWillEndlessInsert = nLoopProtection > 2; const bool bWillEndlessInsert = nLoopProtection > 250;
SAL_WARN_IF(bWillEndlessInsert, "sw", "loop detection triggered"); SAL_WARN_IF(bWillEndlessInsert, "sw", "loop detection triggered");
if ((!bWillEndlessInsert) // Check for special case: line is invisible, if ((!bWillEndlessInsert) // Check for special case: line is invisible,
// like in too thin table cell: tdf#66141 // like in too thin table cell: tdf#66141
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment