diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-08-24 16:58:14 +0200 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-08-25 16:37:36 +0200 |
commit | 92aaff0fb1fb357e687102da163aba204a55fd49 (patch) | |
tree | 55fe67030ca616608f896a41af71800bee246e5f /svx | |
parent | 713359b5fd80ced499c168d4db8fefc0929508dd (diff) |
sw floattable: don't split if anchored inside a footnote
See
<https://gerrit.libreoffice.org/c/core/+/156025/1#message-94d8cdd4d59a4b991186e5780d41f213105a533d>,
if we import an (inline) table inside a footnote from DOCX, we currently
put that into an as-char anchored fly. In case the user would later
change the anchor type to to-para, then we would crash in
SwFlowFrame::GetPrevFrameForUpperSpaceCalc_().
Avoid all this trouble by simply not allowing split floating tables in
footnotes, seeing that the Word UI is also disabled for this case.
(cherry picked from commit 2e1ddc8aeb0a92cc43ef4b7dc4762cd50a6b7fbc)
Change-Id: I3cf9461beb291084e1cced5c66ca14e6b6d55126
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156085
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svx')
0 files changed, 0 insertions, 0 deletions