[Libreoffice-commits] core.git: canvas/source
Stephan Bergmann
sbergman at redhat.com
Mon Nov 27 15:14:14 UTC 2017
canvas/source/tools/surface.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 375c7fad77b3aaa66116a44eea3e3aa4254c3e84
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Nov 27 16:13:39 2017 +0100
loplugin:unnecessaryparen
Change-Id: Ie66c3bec510138b75c41d261b447c956a92486a7
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 )
More information about the Libreoffice-commits
mailing list