From c8284fea44bd2e0170da8cbfab0c041e287ea99b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 7 Aug 2020 09:34:28 +0100 Subject: cid#1465674 silence Copy-paste error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5b90774ffae5ee0ce32de1d557bd50f2d6b775cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100293 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- vcl/opengl/RenderList.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl') 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, -- cgit