sw/source/core/undo/unins.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 4e55e2a10945d57aa39662e795a8a5c3b8ca41a0
Author: Caolán McNamara <[email protected]>
AuthorDate: Wed Sep 7 16:14:28 2022 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Wed Sep 7 19:58:07 2022 +0200
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 <[email protected]>
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 )