summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-05 13:44:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-06 06:47:06 +0100
commita2e3705d8b3b05ae664d54b762d6ff72927d5e48 (patch)
tree6ac31f9c9b419b12dbf065845a6941c143f57e2c /canvas
parentf423ac2d3bdba4263f1f41e31e7e2b7715afdd6e (diff)
loplugin:unnecessaryparen improve member expression
Change-Id: I304621018cb1e2a47e478e86df4229bcf2176741 Reviewed-on: https://gerrit.libreoffice.org/68757 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/tools/page.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/tools/page.hxx b/canvas/source/tools/page.hxx
index d063c7a0f716..800a294a9433 100644
--- a/canvas/source/tools/page.hxx
+++ b/canvas/source/tools/page.hxx
@@ -108,7 +108,7 @@ namespace canvas
// request was made to select this fragment,
// but this fragment has not been located on any
// of the available pages, we need to hurry now.
- if(!(mpPage))
+ if(!mpPage)
return false;
std::shared_ptr<ISurface> pSurface(mpPage->getSurface());
@@ -125,7 +125,7 @@ namespace canvas
bool refresh()
{
- if(!(mpPage))
+ if(!mpPage)
return false;
std::shared_ptr<ISurface> pSurface(mpPage->getSurface());