diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2024-06-14 12:45:31 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2024-06-24 16:36:55 +0200 |
commit | 22d11dba5c4b11eec5cfb1d307cb3c5eaea8c73f (patch) | |
tree | 796dcef5c47be82986f10ee35a01ffb4628a9549 /stoc/CppunitTest_stoc_uriproc.mk | |
parent | 974cffea5e32984d8adac1702586f9439224b6e6 (diff) |
tdf#161346 sw: PDF export: fix crash on field in hidden text frame
When creating a link rectangle for a SwGetRefField, the problem is that
the cursor is positioned on 2 different nodes with 2 different text
frames, neither of which is the node that contains the field; this
happens because that node's text frame has a height of 0, so IsSelOvr()
moves the cursor to a previous node.
Check that SwCursorShell::GotoFormatField() did in fact go to the field.
(regression from commit 9ba8d68c2b2fd06340bbdcb61dc3d57f6e3eb974)
Change-Id: Ib74533f46dce8fb05224fddfff12e49577346b35
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168860
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
(cherry picked from commit a9bc3ea1bef2a6b622a729dfa18eb3851ce7101e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168873
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'stoc/CppunitTest_stoc_uriproc.mk')
0 files changed, 0 insertions, 0 deletions