diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-02-20 08:06:08 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-02-20 09:36:32 +0100 |
commit | 2da4acdbf8c5a8ba3ef51e5f5dc3439716e71a91 (patch) | |
tree | 39a100652c9104bc2f1c031faff79d51652c3e02 /oox | |
parent | 3da833827bd3efae2b5e0911cd6e2dd961c3ad89 (diff) |
tdf#159285 sw floattable: fix loop with inner table wrapped by inner table
Regression from 868140fcc1311259b9d5f666637b33d226511a53 (tdf#60558 sw
floattable: allow wrap of table on the right of a floattable,
2023-12-05), the bugdoc layout looped on load.
Somehow the big while() loop in SwTabFrame::MakeAll() never finishes: it
always tries again but can't reach a state where all of frame area
position, frame area size and frame print area is valid.
Fix the problem by going back to the old behavior (floating table is
wrapped by text frames, not by table frames) for the nested table case:
that keeps the old tdf#60558 use-case working and fixes the new
tdf#159285 use-case.
At some point it would be useful to support the combination of nested
floating tables and the "floating table wrapped by table" combination,
but that will be a new layout feature.
Change-Id: Ia3fdbd08de87e13ddef086ae1339e79a8833674d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163630
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'oox')
0 files changed, 0 insertions, 0 deletions