diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2024-06-10 19:48:27 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2024-06-11 17:14:50 +0200 |
commit | 48659fa6cf8b2c5e3810696cf0c9257ddb57dd4d (patch) | |
tree | 7d6cdae4db64a706a49465e0ccfbcacacc231a19 /svl/source/items/itemset.cxx | |
parent | 373bb35740e0e908acafce743bda3e186f1e36c5 (diff) |
(related: tdf#161215) sw: layout: fix another floating table loop
The full bugdoc loops; text frame 3160 (on which a floating table is
anchored) is split, immediately joined, and split again...
SwTextFrame::IsEmptyWithSplitFly() has a wrong condition that compares
document coordinates with relative position inside the frame; try to use
the confusing SwRectFnSet to compare instead, which prevents this frame
from splitting because it actually fits into its upper.
Another problem in that function is that it checks RES_PAGEDESC but not
RES_BREAK; try to fix that too.
(regression from commit 16b5b21d36da87be9b50235acbbb8008ed23b8bb)
Change-Id: I94251b7443e51303b28d14f0597b0bf782142480
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168668
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'svl/source/items/itemset.cxx')
0 files changed, 0 insertions, 0 deletions