summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-17 19:12:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-18 10:02:15 +0100
commita15729a63ea90a066a6a98a762f4a1c2b19f9389 (patch)
tree0fbe638734654fc8372eae872c1284894e8e0811 /filter
parent24a8e873bba179cf50b2157e95a97d089e379e1c (diff)
cid#1430070 Copy-paste error
add annotation Change-Id: I6973335b8877b48d5cf0a08f4e291585de352446 Reviewed-on: https://gerrit.libreoffice.org/83035 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgwriter.cxx3
1 files changed, 2 insertions, 1 deletions
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;