summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-08 09:42:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-08 09:49:03 +0200
commitf9290d301144744df879cea907584656b7f74ad1 (patch)
tree647eba944a40a0ad889d145c94578a6330940b26 /extensions
parent1d3357ccf7a464003e9aa56cdc9dd86d2ffa17b6 (diff)
Clean up checks of sal_Bool values
Change-Id: Ia05565077823d6efaeaeb35d3d80b51dd9a10d4c
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/check/updatecheckconfig.cxx4
1 files changed, 2 insertions, 2 deletions
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<bool>();
}
@@ -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<bool>();
}