diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-10-07 10:14:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-10-07 11:16:35 +0200 |
commit | 66f33153be9d2b3571f80f975f13057391410b14 (patch) | |
tree | 9dd55f5659d6c699a20069e1cfcf67703812fbf2 | |
parent | bf12f7b4b3f6b32fe836864cd109ea7e6cd3d33f (diff) |
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.grandin@collabora.co.uk>
-rw-r--r-- | sw/source/core/docnode/ndtbl1.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
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 ); } |