sw/source/core/undo/undel.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 17ec3096fc20439bed33ed28c627296d8f80f3b9
Author:     Caolán McNamara <[email protected]>
AuthorDate: Mon Aug 22 09:34:19 2022 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Mon Aug 22 14:25:39 2022 +0200

    cid#1510101 silence Copy-paste error
    
    Change-Id: Ic5fcf10889147b6dfe22b18ea4ebee51ac547a4f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138660
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/sw/source/core/undo/undel.cxx b/sw/source/core/undo/undel.cxx
index 342ba821eef7..5cd7d4e335fb 100644
--- a/sw/source/core/undo/undel.cxx
+++ b/sw/source/core/undo/undel.cxx
@@ -1284,6 +1284,7 @@ void SwUndoDelete::RedoImpl(::sw::UndoRedoContext & 
rContext)
             *aTmp.GetPoint() = *rPam.Start();
             aTmp.Move(fnMoveBackward, GoInNode);
         }
+        // coverity[copy_paste_error : FALSE] : GetNode() is intentional on 
both branches
         assert(aTmp.GetPoint()->GetNode() != rPam.GetPoint()->GetNode()
             && aTmp.GetPoint()->GetNode() != rPam.GetMark()->GetNode());
         ::PaMCorrAbs(rPam, *aTmp.GetPoint());

Reply via email to