tdf#114973 sw: IsSelOvr() should not leave the text
commitc1ef378d2d5ce489aff76c09098bb4aa8e21d346
authorMichael Stahl <michael.stahl@allotropia.de>
Thu, 26 Jan 2023 12:43:28 +0000 (26 13:43 +0100)
committerMichael Stahl <michael.stahl@allotropia.de>
Mon, 27 Feb 2023 13:07:15 +0000 (27 14:07 +0100)
treece8edb37ea7f833c298329f31efba8ec5f14527d
parent4fa1436a37e3190b64c14567278ea026f66ffa5c
tdf#114973 sw: IsSelOvr() should not leave the text

Jumping from body to header is certainly unexpected, call FindNextCnt()
which does additional checks to stay in the same text environment.

Change-Id: If54bff62cac420dc0990b6be070b81fa56365c50
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146256
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
(cherry picked from commit 5aeee226479427062ac885be407671981d6940ef)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146205
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit a3cd59aa9e6ea3dfbfb725201ca143c3ec29aa81)
sw/source/core/crsr/swcrsr.cxx