diff options
Diffstat (limited to 'ucb/source/ucp/ext')
-rw-r--r-- | ucb/source/ucp/ext/ucpext_content.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/ext/ucpext_datasupplier.cxx | 10 | ||||
-rw-r--r-- | ucb/source/ucp/ext/ucpext_datasupplier.hxx | 4 |
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 ); |