From f9290d301144744df879cea907584656b7f74ad1 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 8 May 2015 09:42:13 +0200 Subject: Clean up checks of sal_Bool values Change-Id: Ia05565077823d6efaeaeb35d3d80b51dd9a10d4c --- extensions/source/update/check/updatecheckconfig.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions') diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx index a1c5c97fd290..dfc62d81cc9b 100644 --- a/extensions/source/update/check/updatecheckconfig.cxx +++ b/extensions/source/update/check/updatecheckconfig.cxx @@ -106,7 +106,7 @@ NamedValueByNameAccess::getValue(const sal_Char * pName) bool UpdateCheckROModel::isAutoCheckEnabled() const { - return sal_True == m_aNameAccess.getValue(AUTOCHECK_ENABLED).get< sal_Bool >(); + return m_aNameAccess.getValue(AUTOCHECK_ENABLED).get(); } @@ -114,7 +114,7 @@ UpdateCheckROModel::isAutoCheckEnabled() const bool UpdateCheckROModel::isDownloadPaused() const { - return sal_True == m_aNameAccess.getValue(DOWNLOAD_PAUSED).get< sal_Bool >(); + return m_aNameAccess.getValue(DOWNLOAD_PAUSED).get(); } -- cgit