summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2020-04-02 17:21:32 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-04-05 00:26:12 +0200
commit431dd62b7d1a4f8ca1a1833aa33c1f5f08a900a0 (patch)
tree5a626e409700307a0a2987ba964ef3df4a40ec49 /linguistic
parent27b775647e8fd557d5581b6416f3f35f5ae02b4d (diff)
(related: tdf#130685) sw: adapt definition of sw_redlinehide index 0
... to the change to use the last node - not the first node - for paragraph properties. The problem is that if you move the cursor around at some step of reproducing the bug, this happens: sw/source/core/crsr/crsrsh.cxx:544: bool SwCursorShell::LRMargin(bool, bool): Assertion `sw::GetParaPropsNode(*GetLayout(), GetCursor_()->GetPoint()->nNode) == pTextNd' failed. For a fully deleted range, it looks more plausible to map index 0 to the end of the last node instead of the start of the first node now. This means that text will be inserted at the end of the last node too. (regression from fa5eb82b398e29ae033f7b7c8c8195dfc10cf5b0) Change-Id: Ica891aea658b85211397320a44c9c10b48ca2659 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91598 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de> (cherry picked from commit 58353884dc86bdb3c1464f8bbf8c3e131584b78a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91525 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'linguistic')
0 files changed, 0 insertions, 0 deletions