extensions/source/update/check/updatecheck.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eeb0ea67d242d77c6ec56e4601d44c9517eb381b
Author: Stephan Bergmann <sberg...@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 )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to