diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 13:50:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 14:00:17 +0200 |
commit | d9dd11e16d2a6c7b9ed1a152db5d9a0c055399cb (patch) | |
tree | 1bc0e2b02a43b68886f63fd6b6bd15f3d86bca02 | |
parent | 2b88d7f90edefdaa95a1afe77596fae11daf6f4d (diff) |
loplugin:simplifybool
Change-Id: Ib1af2097743f81c0bdd237941eab017a5d463b37
-rw-r--r-- | extensions/source/update/check/updatecheckconfig.cxx | 4 |
1 files 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 "']") ) { |