summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-16 22:50:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-17 17:55:18 +0100
commitfaced6b5f72b096800a232749cce6b38a76d5bac (patch)
treed0fc963362301ef6d1eeedb7e6af1b05cd565c00 /ucb/source/ucp/ext
parent7f902e1697d077dd4a32846ff85f6134a556d528 (diff)
ucbhelper: sal_Bool -> bool
Change-Id: Iee327c3dd75bebb35d99de01eaa7103956e08974
Diffstat (limited to 'ucb/source/ucp/ext')
-rw-r--r--ucb/source/ucp/ext/ucpext_content.cxx8
-rw-r--r--ucb/source/ucp/ext/ucpext_datasupplier.cxx10
-rw-r--r--ucb/source/ucp/ext/ucpext_datasupplier.hxx4
3 files changed, 11 insertions, 11 deletions
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx
index ad3290962a92..2e5b7658a717 100644
--- a/ucb/source/ucp/ext/ucpext_content.cxx
+++ b/ucb/source/ucp/ext/ucpext_content.cxx
@@ -417,11 +417,11 @@ namespace ucb { namespace ucp { namespace ext
}
else if ( rProp.Name == "IsDocument" )
{
- xRow->appendBoolean( rProp, sal_False );
+ xRow->appendBoolean( rProp, false );
}
else if ( rProp.Name == "IsFolder" )
{
- xRow->appendBoolean( rProp, sal_True );
+ xRow->appendBoolean( rProp, true );
}
else
{
@@ -447,12 +447,12 @@ namespace ucb { namespace ucp { namespace ext
-1,
getCppuBooleanType(),
PropertyAttribute::BOUND | PropertyAttribute::READONLY ),
- sal_False );
+ false );
xRow->appendBoolean( Property( OUString("IsFolder"),
-1,
getCppuBooleanType(),
PropertyAttribute::BOUND | PropertyAttribute::READONLY ),
- sal_True );
+ true );
}
return Reference< XRow >( xRow.get() );
diff --git a/ucb/source/ucp/ext/ucpext_datasupplier.cxx b/ucb/source/ucp/ext/ucpext_datasupplier.cxx
index 8c8057d47907..3c2d80ef34ca 100644
--- a/ucb/source/ucp/ext/ucpext_datasupplier.cxx
+++ b/ucb/source/ucp/ext/ucpext_datasupplier.cxx
@@ -272,15 +272,15 @@ namespace ucb { namespace ucp { namespace ext
}
//------------------------------------------------------------------------------------------------------------------
- sal_Bool DataSupplier::getResult( sal_uInt32 i_nIndex )
+ bool DataSupplier::getResult( sal_uInt32 i_nIndex )
{
::osl::ClearableGuard< ::osl::Mutex > aGuard( m_pImpl->m_aMutex );
if ( m_pImpl->m_aResults.size() > i_nIndex )
// result already present.
- return sal_True;
+ return true;
- return sal_False;
+ return false;
}
//------------------------------------------------------------------------------------------------------------------
@@ -297,9 +297,9 @@ namespace ucb { namespace ucp { namespace ext
}
//------------------------------------------------------------------------------------------------------------------
- sal_Bool DataSupplier::isCountFinal()
+ bool DataSupplier::isCountFinal()
{
- return sal_True;
+ return true;
}
//------------------------------------------------------------------------------------------------------------------
diff --git a/ucb/source/ucp/ext/ucpext_datasupplier.hxx b/ucb/source/ucp/ext/ucpext_datasupplier.hxx
index cfa5e04be074..6b123bedb1db 100644
--- a/ucb/source/ucp/ext/ucpext_datasupplier.hxx
+++ b/ucb/source/ucp/ext/ucpext_datasupplier.hxx
@@ -55,11 +55,11 @@ namespace ucb { namespace ucp { namespace ext
virtual com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier > queryContentIdentifier( sal_uInt32 nIndex );
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 );
virtual void releasePropertyValues( sal_uInt32 nIndex );