summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-25 16:41:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-25 16:41:02 +0200
commitc21bc9e5aa8aa1003a10b6e39182e4e70af80486 (patch)
tree9065ff7f45cadfe8c8f171e2f1970c8f47005751 /extensions
parent5258b85ff4cc49ea02873ba7311f9873eb101d4e (diff)
Some more sal_Bool -> bool
Change-Id: I2dcc7bb0c8d5a6e205d627330735237f85fd9f9f
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/check/updatecheckconfig.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx
index 2d3ba9119941..4bec357302e0 100644
--- a/extensions/source/update/check/updatecheckconfig.cxx
+++ b/extensions/source/update/check/updatecheckconfig.cxx
@@ -145,7 +145,7 @@ UpdateCheckROModel::getUpdateEntry(UpdateInfo& rInfo) const
rInfo.Version = getStringValue(UPDATE_VERSION);
rInfo.Description = getStringValue(UPDATE_DESCRIPTION);
- sal_Bool isDirectDownload = false;
+ bool isDirectDownload = false;
m_aNameAccess.getValue(IS_DIRECT_DOWNLOAD) >>= isDirectDownload;
rInfo.Sources.push_back( DownloadSource( isDirectDownload, getStringValue(DOWNLOAD_URL) ) );
@@ -253,7 +253,7 @@ UpdateCheckConfig::get(
bool
UpdateCheckConfig::isAutoCheckEnabled() const
{
- sal_Bool nValue = false;
+ bool nValue = false;
const_cast < UpdateCheckConfig *> (this)->getByName( AUTOCHECK_ENABLED ) >>= nValue;
return nValue;
}
@@ -261,7 +261,7 @@ UpdateCheckConfig::isAutoCheckEnabled() const
bool
UpdateCheckConfig::isAutoDownloadEnabled() const
{
- sal_Bool nValue = false;
+ bool nValue = false;
const_cast < UpdateCheckConfig *> (this)->getByName( AUTODOWNLOAD_ENABLED ) >>= nValue;
return nValue;
}
@@ -520,7 +520,7 @@ UpdateCheckConfig::commitChanges()
aChangesSet[i].Accessor >>= aString;
if( aString.endsWith(AUTOCHECK_ENABLED "']") )
{
- sal_Bool bEnabled = false;
+ bool bEnabled = false;
aChangesSet[i].Element >>= bEnabled;
m_rListener->autoCheckStatusChanged(bEnabled);
}