summaryrefslogtreecommitdiff
path: root/sw/inc/iodetect.hxx
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2022-03-04 20:05:03 +0100
committerAndras Timar <andras.timar@collabora.com>2022-03-22 10:30:06 +0100
commit847731b7f50876180a09176ca867140c9d0a4784 (patch)
treec7d047d55d41c5b658d42e0de353000b1a99acb3 /sw/inc/iodetect.hxx
parent0ebd50e9726bd06911e8398e039f98e1a7523201 (diff)
sw_redlinehide: fix crashes in SwEditWin Surrounding functions
These foolish functions write into the shell cursor! But the shell cursor's node isn't necessarily the same as before with merged paragraphs, so could crash with out of bounds indexes. Better use Push()/Pop(). Change-Id: I4fd0e2aa915b6c5448772a2c766848607bbf5aaa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131041 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> (cherry picked from commit aac9bd235e65b27faf63e64bba3ecd94837381d6) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131127 Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'sw/inc/iodetect.hxx')
0 files changed, 0 insertions, 0 deletions