[Libreoffice-commits] core.git: extensions/source
Stephan Bergmann
sbergman at redhat.com
Thu Nov 23 10:24:17 UTC 2017
extensions/source/update/check/updatecheck.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit eeb0ea67d242d77c6ec56e4601d44c9517eb381b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Nov 23 11:23:39 2017 +0100
loplugin:simplifybool
Change-Id: I2e340824db3e1e5197a23e567e4b88b64136562f
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index 7e59bfc9a7ea..8c52e1c138c8 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -480,7 +480,7 @@ UpdateCheckThread::run()
rModel.clear();
// last == 0 means check immediately
- bool checkNow = ! (last > 0);
+ bool checkNow = last <= 0;
// Reset the condition to avoid busy loops
if( osl::Condition::result_ok == aResult )
More information about the Libreoffice-commits
mailing list