summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-18 08:43:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-18 08:43:24 +0100
commit80d9fbdde2a921958ec6725a1d80ba17fc5165c9 (patch)
treef60ed9baad23540b08e4e110577dba980af3add9 /ucb
parent5060d3888edba2be753eefbd4d23e1a2abd940ff (diff)
sal_Bool -> bool fixup
Change-Id: I4e69744d99334bfe9dafdfd19b2f0242ccf0d4cc
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/gvfs/gvfs_content.cxx6
-rw-r--r--ucb/source/ucp/gvfs/gvfs_directory.cxx10
-rw-r--r--ucb/source/ucp/gvfs/gvfs_directory.hxx4
3 files changed, 10 insertions, 10 deletions
diff --git a/ucb/source/ucp/gvfs/gvfs_content.cxx b/ucb/source/ucp/gvfs/gvfs_content.cxx
index a2e557332c81..26f6ba8dbc0b 100644
--- a/ucb/source/ucp/gvfs/gvfs_content.cxx
+++ b/ucb/source/ucp/gvfs/gvfs_content.cxx
@@ -318,10 +318,10 @@ uno::Any SAL_CALL Content::execute(
aRet <<= setPropertyValues( aProperties, xEnv );
} else if ( COMMAND_IS( aCommand, "getPropertySetInfo" ) ) {
- aRet <<= getPropertySetInfo( xEnv, sal_False );
+ aRet <<= getPropertySetInfo( xEnv, false );
} else if ( COMMAND_IS( aCommand, "getCommandInfo" ) ) {
- aRet <<= getCommandInfo( xEnv, sal_False );
+ aRet <<= getCommandInfo( xEnv, false );
} else if ( COMMAND_IS( aCommand, "open" ) ) {
ucb::OpenCommandArgument2 aOpenCommand;
@@ -650,7 +650,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
xRow->appendVoid( rProp );
else if ( rProp.Name == "IsVolume" || rProp.Name == "IsCompactDisk" )
- xRow->appendBoolean( rProp, sal_False );
+ xRow->appendBoolean( rProp, false );
else if ( rProp.Name == "DateCreated" ) {
if (m_info.valid_fields & GNOME_VFS_FILE_INFO_FIELDS_CTIME)
diff --git a/ucb/source/ucp/gvfs/gvfs_directory.cxx b/ucb/source/ucp/gvfs/gvfs_directory.cxx
index 5871baa2bd51..21612a090402 100644
--- a/ucb/source/ucp/gvfs/gvfs_directory.cxx
+++ b/ucb/source/ucp/gvfs/gvfs_directory.cxx
@@ -233,17 +233,17 @@ DataSupplier::queryContent( sal_uInt32 nIndex )
}
// virtual
-sal_Bool DataSupplier::getResult( sal_uInt32 nIndex )
+bool DataSupplier::getResult( sal_uInt32 nIndex )
{
osl::ClearableGuard< osl::Mutex > aGuard( m_pImpl->m_aMutex );
if ( m_pImpl->m_aResults.size() > nIndex ) // Result already present.
- return sal_True;
+ return true;
if ( getData() && m_pImpl->m_aResults.size() > nIndex )
- return sal_True;
+ return true;
- return sal_False;
+ return false;
}
// virtual
@@ -264,7 +264,7 @@ sal_uInt32 DataSupplier::currentCount()
}
// virtual
-sal_Bool DataSupplier::isCountFinal()
+bool DataSupplier::isCountFinal()
{
osl::Guard< osl::Mutex > aGuard( m_pImpl->m_aMutex );
return m_pImpl->m_bCountFinal;
diff --git a/ucb/source/ucp/gvfs/gvfs_directory.hxx b/ucb/source/ucp/gvfs/gvfs_directory.hxx
index 37d6aa0c07e4..1ea9fa754135 100644
--- a/ucb/source/ucp/gvfs/gvfs_directory.hxx
+++ b/ucb/source/ucp/gvfs/gvfs_directory.hxx
@@ -66,11 +66,11 @@ public:
virtual com::sun::star::uno::Reference< com::sun::star::ucb::XContent >
queryContent( sal_uInt32 nIndex );
- virtual sal_Bool getResult( sal_uInt32 nIndex );
+ virtual bool getResult( sal_uInt32 nIndex );
virtual sal_uInt32 totalCount();
virtual sal_uInt32 currentCount();
- virtual sal_Bool isCountFinal();
+ virtual bool isCountFinal();
virtual com::sun::star::uno::Reference< com::sun::star::sdbc::XRow >
queryPropertyValues( sal_uInt32 nIndex );