summaryrefslogtreecommitdiff
path: root/mysqlc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-10-25 17:48:32 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-10-26 09:04:12 +0200
commitcb8b20ab3aa3f790d4979385874cdd4e2a87221b (patch)
treeaf6a8b8391e2e52db7f38a28f8ff2c0c39cde170 /mysqlc
parentaded98ce3d7a4189a4fa30989505da9427abc83b (diff)
tdf#113445 sw: avoid hitting loop control with a dozen of in-table sections
The bugdoc has an (outer) table containing a single cell, which has an (inner) table with 12 cells, all content is inside sections, one section / cell. This relatively simple setup can already hit the loop control in lcl_RecalcRow(), as the SwLayNotify dtor always does invalidation in an async way, so the loop control's counter is incremented after each and every table cell. Instead of increasing the max tolerance in lcl_RecalcRow() (one can easily construct a document where the bug is still there even if the max is set to 100 instead of the current 10 iterations), just calculate the lower synchronously. Change-Id: Ifbffe13e5f2f237e1578bdd3e17d4d8b7c34806d Reviewed-on: https://gerrit.libreoffice.org/43848 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'mysqlc')
0 files changed, 0 insertions, 0 deletions