summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-09-07 16:14:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-09-07 19:58:07 +0200
commit4e55e2a10945d57aa39662e795a8a5c3b8ca41a0 (patch)
treede20950e4d0afc90f8909902170ee7186fca4237
parent3b62c0018106adf493246cf129a4ff8b47067523 (diff)
cid#1513730 Useless call
since: commit 3a8c74efa2da18f16af4f395e46ee13bfdfa76cc Date: Mon Sep 5 14:16:28 2022 +0200 use more SwPosition::Assign Change-Id: Ie6fc37f33c1c5b7ec1c65f5a880044b261f4130a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139601 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/core/undo/unins.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/core/undo/unins.cxx b/sw/source/core/undo/unins.cxx
index 4ced606b27ff..e69b6a311caf 100644
--- a/sw/source/core/undo/unins.cxx
+++ b/sw/source/core/undo/unins.cxx
@@ -723,13 +723,9 @@ void SwUndoReplace::Impl::RedoImpl(::sw::UndoRedoContext & rContext)
rPam.DeleteMark();
rPam.GetPoint()->Assign( m_nSttNd, m_nSttCnt );
- rPam.GetPoint()->GetNode().GetTextNode();
rPam.SetMark();
if( m_bSplitNext )
- {
rPam.GetPoint()->Assign( m_nSttNd + 1 );
- rPam.GetPoint()->GetNode().GetTextNode();
- }
rPam.GetPoint()->SetContent( m_nSelEnd );
if( m_pHistory )