summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-17 19:14:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-18 10:01:57 +0100
commit24a8e873bba179cf50b2157e95a97d089e379e1c (patch)
treeb7917a29bc7061874db820d881a120362ecaa95c /filter
parentde38c4a5ea015f0f881b80f7ec0dcbaf323bc1e0 (diff)
cid#1430063 Copy-paste error
add annotation Change-Id: I162b4f388baff243425d34a13c1104dfdaf92588 Reviewed-on: https://gerrit.libreoffice.org/83036 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/flash/swfwriter1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index 5416ab869442..4bc117c0dccf 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -402,10 +402,10 @@ void Writer::Impl_writeText( const Point& rPos, const OUString& rText, const lon
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;
-
Point aPos( rPos );
Point aOffset( 6,6 );