summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-27 10:44:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-27 10:47:32 +0100
commit65191cda819ee8f4d14f6cdf12568c35e46b5c66 (patch)
tree47d394c5e3b93ab7eb98f286bab1281175671325 /extensions
parent5de65dc2d6887a9c7a5b4faa23caa53f8c05c2d0 (diff)
bool improvements
Change-Id: I757e19313576d2c3d13af1cb720f182f0de91613
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/check/download.hxx2
-rw-r--r--extensions/source/update/check/updatecheck.cxx4
2 files changed, 3 insertions, 3 deletions
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 <Download *> (this)->m_aCondition.check(); };
+ { return const_cast <Download *> (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();
};
//------------------------------------------------------------------------------