From d9dd11e16d2a6c7b9ed1a152db5d9a0c055399cb Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 16 Jul 2015 13:50:26 +0200 Subject: [PATCH] loplugin:simplifybool Change-Id: Ib1af2097743f81c0bdd237941eab017a5d463b37 --- extensions/source/update/check/updatecheckconfig.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx index dfc62d81cc9b..3588180c223b 100644 --- a/extensions/source/update/check/updatecheckconfig.cxx +++ b/extensions/source/update/check/updatecheckconfig.cxx @@ -438,7 +438,7 @@ UpdateCheckConfig::storeUpdateFound( const UpdateInfo& rInfo, const OUString& aC uno::makeAny(rInfo.BuildId), uno::makeAny(rInfo.Description), uno::makeAny(rInfo.Sources[0].URL), - uno::makeAny(rInfo.Sources[0].IsDirect ? sal_True : sal_False), + uno::makeAny(rInfo.Sources[0].IsDirect), uno::makeAny(getReleaseNote(rInfo, 1, autoDownloadEnabled) ), uno::makeAny(getReleaseNote(rInfo, 2, autoDownloadEnabled) ), uno::makeAny(getReleaseNote(rInfo, 3, autoDownloadEnabled) ), @@ -596,7 +596,7 @@ UpdateCheckConfig::commitChanges() { sal_Bool bEnabled = sal_False; aChangesSet[i].Element >>= bEnabled; - m_rListener->autoCheckStatusChanged(sal_True == bEnabled); + m_rListener->autoCheckStatusChanged(bEnabled); } else if( aString.endsWith(CHECK_INTERVAL "']") ) {