summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-27 16:13:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-27 16:13:39 +0100
commit375c7fad77b3aaa66116a44eea3e3aa4254c3e84 (patch)
tree4faf5ffd0b9596d9d06757d2dbe922c821e6f2fe /canvas
parent2b3317db1155c02aa28bdf07520849136959e824 (diff)
loplugin:unnecessaryparen
Change-Id: Ie66c3bec510138b75c41d261b447c956a92486a7
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/tools/surface.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/tools/surface.cxx b/canvas/source/tools/surface.cxx
index 6b0fac13cf48..80c300a22751 100644
--- a/canvas/source/tools/surface.cxx
+++ b/canvas/source/tools/surface.cxx
@@ -410,7 +410,7 @@ namespace canvas
// of the above implemented concrete rendering operations
// was triggered. we therefore need to ask the pagemanager
// to allocate some space for the fragment we're dedicated to.
- if(!(mpFragment))
+ if(!mpFragment)
{
mpFragment = mpPageManager->allocateSpace(maSize);
if( mpFragment )