sw/source/core/docnode/nodes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 86b69183193706724e5216c4dc26e2bf824a9a4a Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Fri Jan 20 10:18:54 2023 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Wed Jan 25 08:58:26 2023 +0000 tdf#150819 crash after a few paste and undo regression from commit 3a02b5f8aae803b7b5a232c724135594483627a4 Author: Noel Grandin <noelgran...@gmail.com> Date: Tue Aug 16 18:44:31 2022 +0200 convert more nNode to SwPosition::GetNode Change-Id: I636590ec5eb28f0db3640464a49f0ab5582ff853 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145864 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> (cherry picked from commit b70eee2d394dd7249c2de0cb41ccc47f80a05f8f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145947 Reviewed-by: Michael Stahl <michael.st...@allotropia.de> (cherry picked from commit 4192d8cc3120473d0dbfcc7ff12bf8297ac999db) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146019 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/source/core/docnode/nodes.cxx b/sw/source/core/docnode/nodes.cxx index 540d5ce7509b..afef83e76df5 100644 --- a/sw/source/core/docnode/nodes.cxx +++ b/sw/source/core/docnode/nodes.cxx @@ -1532,7 +1532,7 @@ void SwNodes::MoveRange( SwPaM & rPam, SwPosition & rPos, SwNodes& rNodes ) pDestNd->SplitContentNode(rPos, nullptr); } - if( rPos.GetNodeIndex() == aEndIdx.GetIndex() ) + if( rPos.GetNode() == aEndIdx.GetNode() ) { --aEndIdx; }