diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-11 17:20:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-11 21:09:55 +0200 |
commit | 5262ec68f36216cdca9be87b3b2e126d724b69c5 (patch) | |
tree | 02cc33c8e0b86db9bc57c0ce152bab5321c0be68 /sc/source/ui/view/viewdata.cxx | |
parent | 12ea892df9ca1691c406b4c98f996456e3b69307 (diff) |
set copy_paste_error to false rather than intentional
Change-Id: I152482ef594c286d3c2a94cab62feff49bbf79fa
Reviewed-on: https://gerrit.libreoffice.org/58884
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/view/viewdata.cxx')
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index 9044e527c490..1aa33415f54b 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -179,7 +179,7 @@ ScPositionHelper::getNearestByIndex(index_type nIndex) const } auto posLB = std::prev(posUB); - // coverity[copy_paste_error] - posUB is correct + // coverity[copy_paste_error : FALSE] - posUB is correct if (posUB == mData.end()) { return *posLB; @@ -210,7 +210,7 @@ ScPositionHelper::getNearestByPosition(long nPos) const } auto posLB = std::prev(posUB); - // coverity[copy_paste_error] - posUB is correct + // coverity[copy_paste_error : FALSE] - posUB is correct if (posUB == mData.end()) { return *posLB; |