summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-10-24 16:41:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-10-24 20:48:01 +0200
commitf2ed9655b9327b9c3eb479ccc98ebb0bde4190f2 (patch)
tree08a176949d5227cf855236723d3a337e6f237e27 /sw/source
parent9efc7e6980e3ada86bfd501fc7306f596abccbf5 (diff)
cid#1493243 silence Copy-paste error
Change-Id: I6eeb4e2213aa5dcbae94ec7c3a14a18a986f9975 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124121 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/undo/undel.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/undo/undel.cxx b/sw/source/core/undo/undel.cxx
index c698ca189634..88c8b2ed1f76 100644
--- a/sw/source/core/undo/undel.cxx
+++ b/sw/source/core/undo/undel.cxx
@@ -78,6 +78,7 @@ static SwTextNode * FindFirstAndNextNode(SwDoc & rDoc, SwUndRng const& rRange,
{
auto const& rRedline(rRedlineSaveData[i]);
if (rRedline.m_nSttNode <= rRange.m_nSttNode
+ // coverity[copy_paste_error : FALSE] : m_nEndNode is intentional here
&& rRedline.m_nSttNode < rRange.m_nEndNode
&& rRange.m_nEndNode <= rRedline.m_nEndNode
&& rRedline.GetType() == RedlineType::Delete)