sw/source/core/docnode/ndtbl1.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 66f33153be9d2b3571f80f975f13057391410b14
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Fri Oct 7 10:14:58 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Fri Oct 7 11:16:35 2022 +0200

    this assignment is unnecessary
    
    the SetMark call will already have set up the nContent field
    
    Change-Id: Ia74eeb43e5310aff1d58919970d11a400d049b73
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141045
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sw/source/core/docnode/ndtbl1.cxx 
b/sw/source/core/docnode/ndtbl1.cxx
index 3411f4b25490..e1888bab015b 100644
--- a/sw/source/core/docnode/ndtbl1.cxx
+++ b/sw/source/core/docnode/ndtbl1.cxx
@@ -647,7 +647,6 @@ void SwDoc::SetRowNotTracked( const SwCursor& rCursor,
             getIDocumentContentOperations().InsertString( aPaM,
                     OUStringChar(CH_TXT_TRACKED_DUMMY_CHAR) );
             aPaM.SetMark();
-            aPaM.GetMark()->nContent.Assign(aPaM.GetPointContentNode(), 0);
             getIDocumentRedlineAccess().SetRedlineFlags_intern( eOld );
             getIDocumentContentOperations().DeleteAndJoin( aPaM );
         }

Reply via email to