diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-25 14:44:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-25 20:42:01 +0000 |
commit | e3c70196e7f640cfde360b9832e91bec4eb7ab26 (patch) | |
tree | 36ae6359df3340458bfc63b0409a836d458b867e | |
parent | b68ecae158c327c3fd85de9d2babb657ae97da1d (diff) |
coverity#1266437 Unintended comparison to logical negation
Change-Id: Ia4fc4ccbdfe3586afc78a16378ef0b3859308d64
-rw-r--r-- | vcl/unx/generic/gdi/gdiimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/gdiimpl.cxx b/vcl/unx/generic/gdi/gdiimpl.cxx index 7eddf05f920c..17a9a10a57f7 100644 --- a/vcl/unx/generic/gdi/gdiimpl.cxx +++ b/vcl/unx/generic/gdi/gdiimpl.cxx @@ -1230,7 +1230,7 @@ void X11SalGraphicsImpl::SetROPFillColor( SalROPColor nROPColor ) void X11SalGraphicsImpl::SetXORMode( bool bSet, bool ) { - if( !mbXORMode == bSet ) + if (mbXORMode != bSet) { mbXORMode = bSet; mbPenGC = false; |