sw/source/core/doc/docredln.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 95933b725ff4f8f909fa5520f3e7fe0215715edb
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Tue Oct 11 12:19:36 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Tue Oct 11 16:49:29 2022 +0200

    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.gran...@collabora.co.uk>

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 );
         }
     }

Reply via email to