diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-11-23 11:23:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-11-23 11:23:39 +0100 |
commit | eeb0ea67d242d77c6ec56e4601d44c9517eb381b (patch) | |
tree | 82f4bfa654e5e09ef3e62fafe95bb81182c98bc1 /extensions | |
parent | ad0fc224acb42cad766813972689deb5e4bb3c32 (diff) |
loplugin:simplifybool
Change-Id: I2e340824db3e1e5197a23e567e4b88b64136562f
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/update/check/updatecheck.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |