|
|
|
@ -46,7 +46,7 @@ index 263c05f..7f863c6 100644
|
|
|
|
|
+ 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
|
|
|
|
|