From 65191cda819ee8f4d14f6cdf12568c35e46b5c66 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 27 Jan 2014 10:44:30 +0100 Subject: bool improvements Change-Id: I757e19313576d2c3d13af1cb720f182f0de91613 --- extensions/source/update/check/download.hxx | 2 +- extensions/source/update/check/updatecheck.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/source/update') diff --git a/extensions/source/update/check/download.hxx b/extensions/source/update/check/download.hxx index b1d22e773562..bb62736fdd70 100644 --- a/extensions/source/update/check/download.hxx +++ b/extensions/source/update/check/download.hxx @@ -63,7 +63,7 @@ public: // returns true if the stop condition is set bool isStopped() const - { return sal_True == const_cast (this)->m_aCondition.check(); }; + { return const_cast (this)->m_aCondition.check(); }; protected: diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index f38d74592cfb..2e0ab73198f7 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -473,7 +473,7 @@ UpdateCheckThread::run() try { - while( sal_True == schedule() ) + while( schedule() ) { /* Use cases: * a) manual check requested from auto check thread - "last check" should not be checked (one time) @@ -1572,7 +1572,7 @@ bool UpdateCheck::isDialogShowing() const { osl::MutexGuard aGuard(m_aMutex); - return sal_True == m_aUpdateHandler.is() && m_aUpdateHandler->isVisible(); + return m_aUpdateHandler.is() && m_aUpdateHandler->isVisible(); }; //------------------------------------------------------------------------------ -- cgit