summaryrefslogtreecommitdiff
path: root/canvas/source/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-24 12:24:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-24 12:36:19 +0200
commit3ac5138cfc01c1795ae05963fa4e5a6c7d22f4de (patch)
tree60c0b053ae6773a840aaa65d1679c92832072845 /canvas/source/tools
parented83ba34a55857f1a4f1c1f1577bb25dcf733bd4 (diff)
loplugin:simplifybool
Change-Id: I8087e16e50c06534e7d9a08c3bc72ab53de9f126
Diffstat (limited to 'canvas/source/tools')
-rw-r--r--canvas/source/tools/page.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/tools/page.hxx b/canvas/source/tools/page.hxx
index d4a0f8422bee..54773f21413d 100644
--- a/canvas/source/tools/page.hxx
+++ b/canvas/source/tools/page.hxx
@@ -121,7 +121,7 @@ namespace canvas
return false;
// call refresh() if requested, otherwise we're up to date...
- return bRefresh ? refresh() : true;
+ return !bRefresh || refresh();
}
bool refresh()