sw/source/core/undo/undel.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 1d76a3dfea5d842d99447e094a3c1c1f9249335b
Author: Noel Grandin <[email protected]>
AuthorDate: Wed Oct 12 13:14:47 2022 +0200
Commit: Noel Grandin <[email protected]>
CommitDate: Wed Oct 12 15:32:55 2022 +0200
this adjust not necessary
rPaM's nNode and nContent is already kept in sync here
Change-Id: Ic79bcf8f950767885e117848475ccbebc4f6537e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141251
Tested-by: Jenkins
Reviewed-by: Noel Grandin <[email protected]>
diff --git a/sw/source/core/undo/undel.cxx b/sw/source/core/undo/undel.cxx
index 15088959db00..b3026c1c375f 100644
--- a/sw/source/core/undo/undel.cxx
+++ b/sw/source/core/undo/undel.cxx
@@ -432,9 +432,6 @@ SwUndoDelete::SwUndoDelete(
m_nNdDiff -= rPam.GetPoint()->GetNodeIndex();
}
- if( !rPam.GetPointNode().IsContentNode() )
- rPam.GetPoint()->nContent.Assign( nullptr, 0 );
-
// is a history necessary here at all?
if( m_pHistory && !m_pHistory->Count() )
m_pHistory.reset();