From 375c7fad77b3aaa66116a44eea3e3aa4254c3e84 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 27 Nov 2017 16:13:39 +0100 Subject: loplugin:unnecessaryparen Change-Id: Ie66c3bec510138b75c41d261b447c956a92486a7 --- canvas/source/tools/surface.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- cgit