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

New commits:
commit ce9273e72f31ac3834fc6cf13f6dccc341d5fb8e
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Tue Oct 11 10:52:22 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Tue Oct 11 18:03:16 2022 +0200

    avoid accessing SwPosition.nContent
    
    part of the process of hiding the internals of SwPosition
    
    Change-Id: I3a32cc601983313c29805603b1c0aa3f990d6b08
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141208
    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 37e869b8f7af..9749c94331fb 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -569,12 +569,9 @@ std::vector<std::unique_ptr<SwRangeRedline>> 
GetAllValidRanges(std::unique_ptr<S
 
         if( aNewStt >= *pEnd )
             break;
-        pC = rNds.GoNext( &aNewStt.nNode );
+        pC = rNds.GoNext( &aNewStt );
         if( !pC )
             break;
-
-        aNewStt.nContent.Assign( pC, 0 );
-
     } while( aNewStt < *pEnd );
 
     return ret;

Reply via email to