diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2023-03-17 15:20:57 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2023-03-17 17:22:05 +0000 |
commit | dd3c70518851b532f43a853d8e0c6189013844c4 (patch) | |
tree | de643402878c8eb8632f1dd7eb1e818670eebf24 /sc/source/core | |
parent | db96cd9d410b34e235b5de772540d08537298669 (diff) |
sw: fix assert on tdf140219-2.odt
itrpaint.cxx:421: void SwTextPainter::DrawTextLine: Assertion `!roTaggedParagraph' failed.
The unexpected situation is that the SwTextFrame contains no numbering
portions but only fly portions, and the follow SwTextFrame contains the
numbering portion.
Delay producing the numbering and paragraph structured elements until
the numbering portions - it's the only way to create the list structure
correctly.
Unfortunately this means that the fly anchored on the paragraph won't be
nested inside the paragraph structured element any more, because it's
created later, but that seems rather difficult to do and the paint order
in sw already prevents this from working for hell layer flys.
(regression from commit 9b38beadf9eaf027b201cdf0ecb2bce5611014dd)
Change-Id: I9b40b85edd6f4b9920beac5602a5d3a6d4de5dd3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149058
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sc/source/core')
0 files changed, 0 insertions, 0 deletions