sw_redlinehide: fix crash in IsMarkHidden() if pointing to table node
commit197f973f9b614e30e9a02d6edcc9c6578fba8724
authorMichael Stahl <michael.stahl@allotropia.de>
Fri, 20 May 2022 13:46:20 +0000 (20 15:46 +0200)
committerMichael Stahl <michael.stahl@allotropia.de>
Tue, 23 Aug 2022 16:10:24 +0000 (23 18:10 +0200)
treead7029faabccb625acb23cfd6a7524bdab7381a9
parente710fa2a9141f2d3464bc08c2dbc739e6b0e044d
sw_redlinehide: fix crash in IsMarkHidden() if pointing to table node

This is called during mail merge from documentStartPageNumber()
and if the document starts with a table, the passed UNO mark will point
to SwTableNode.

(regression from commit 943d9be770e550d20ca72274fa5e914d1f61e605)

Change-Id: Ic69c12ba0d819eda85de5dde95e35a8071466c2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134692
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit 4d3b750d08d05c475fb38f8b3961696d9cc9882f)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134776
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 9b7670155553115b967bb2a9215a4ee49f7b0ef2)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136180
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
sw/source/core/crsr/crbm.cxx