sw/source/core/undo/undel.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit f2ed9655b9327b9c3eb479ccc98ebb0bde4190f2
Author: Caolán McNamara <[email protected]>
AuthorDate: Sun Oct 24 16:41:18 2021 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Sun Oct 24 20:48:01 2021 +0200
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 <[email protected]>
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)