summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-10-11 12:19:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-10-11 16:49:29 +0200
commit95933b725ff4f8f909fa5520f3e7fe0215715edb (patch)
tree60cd389d07b926ce3a6b3b4eb8e2500107919581 /sw/source
parent195cb01573cbc92545cbc84cbb7dd09bbb4ae692 (diff)
no need to touch nContent here
part of the process of hiding the internals of SwPosition Change-Id: I15ed83739b12aebe7c7cd7fbdd528fa0cd282582 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141212 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/docredln.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index cfd77733e331..37e869b8f7af 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -1712,9 +1712,8 @@ void SwRangeRedline::DelCopyOfSection(size_t nMyPos)
*GetMark() = *pEnd;
DeleteMark();
- aPam.GetBound().nContent.Assign( nullptr, 0 );
- aPam.GetBound( false ).nContent.Assign( nullptr, 0 );
aPam.DeleteMark();
+ aPam.GetPoint()->SetContent(0);;
rDoc.getIDocumentContentOperations().DelFullPara( aPam );
}
}