summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-07 09:34:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-07 21:24:11 +0200
commitc8284fea44bd2e0170da8cbfab0c041e287ea99b (patch)
treec4bc5cac834c79501d22c79de240abf6adeefaa8 /vcl/opengl
parentbdbf72d9a23cf63bebc01d5fe1567f76cb260c7d (diff)
cid#1465674 silence Copy-paste error
Change-Id: I5b90774ffae5ee0ce32de1d557bd50f2d6b775cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100293 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/opengl')
-rw-r--r--vcl/opengl/RenderList.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/opengl/RenderList.cxx b/vcl/opengl/RenderList.cxx
index e894bb67ce50..8ba437f924c3 100644
--- a/vcl/opengl/RenderList.cxx
+++ b/vcl/opengl/RenderList.cxx
@@ -240,6 +240,7 @@ void RenderList::addDrawRectangle(long nX, long nY, long nWidth, long nHeight, d
if (nFillColor == SALCOLOR_NONE)
return;
+ // coverity[copy_paste_error : FALSE] - this is correct nLineColor not nFillColor
if (nLineColor == SALCOLOR_NONE)
{
appendRectangle(rRenderParameter.maVertices, rRenderParameter.maIndices,