From a15729a63ea90a066a6a98a762f4a1c2b19f9389 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 17 Nov 2019 19:12:44 +0000 Subject: cid#1430070 Copy-paste error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add annotation Change-Id: I6973335b8877b48d5cf0a08f4e291585de352446 Reviewed-on: https://gerrit.libreoffice.org/83035 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- filter/source/svg/svgwriter.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'filter') diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 9253bbace5f3..ca4a2368bd9d 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -2428,7 +2428,8 @@ void SVGActionWriter::ImplWriteText( const Point& rPos, const OUString& rText, if ( aTextColor == COL_BLACK ) aTextColor = COL_WHITE; - if ( aTextColor == COL_WHITE ) + // coverity[copy_paste_error : FALSE] - aReliefColor depending on aTextColor is correct + if (aTextColor == COL_WHITE) aReliefColor = COL_BLACK; -- cgit