diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:24:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:19 +0200 |
commit | 3ac5138cfc01c1795ae05963fa4e5a6c7d22f4de (patch) | |
tree | 60c0b053ae6773a840aaa65d1679c92832072845 /canvas/source/tools | |
parent | ed83ba34a55857f1a4f1c1f1577bb25dcf733bd4 (diff) |
loplugin:simplifybool
Change-Id: I8087e16e50c06534e7d9a08c3bc72ab53de9f126
Diffstat (limited to 'canvas/source/tools')
-rw-r--r-- | canvas/source/tools/page.hxx | 2 |
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() |