summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-05-09 20:59:53 +0200
committerJan Holesovsky <kendy@collabora.com>2014-05-09 22:28:44 +0200
commit261b1ad80aae0dd9aba50190a4cf99011cc18fb9 (patch)
treef37e5e85296e64957d743671a2675b1909f1b173 /cppcanvas
parentdd484af7cfb472a39c9afebc6dad9ea28d1224c4 (diff)
'!= false' is redundant, and confusing - kill it.
Change-Id: I1a52b9ce7b590e8cf274a2daaa1c55cfc1efe48b
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index 839aa402d58f..5b8c437ee8ca 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -93,7 +93,7 @@ namespace
const cppcanvas::CanvasSharedPtr& rCanvas )
{
// set rIsColorSet and check for true at the same time
- if( (rIsColorSet=pAct->IsSetting()) != false )
+ if (rIsColorSet = pAct->IsSetting())
{
::Color aColor( pAct->GetColor() );