diff options
Diffstat (limited to 'ucb/source/ucp/tdoc')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_content.cxx | 14 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_datasupplier.cxx | 8 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_datasupplier.hxx | 4 |
3 files changed, 13 insertions, 13 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx index 04312d0d5429..0caba865fb99 100644 --- a/ucb/source/ucp/tdoc/tdoc_content.cxx +++ b/ucb/source/ucp/tdoc/tdoc_content.cxx @@ -564,7 +564,7 @@ uno::Any SAL_CALL Content::execute( } // Remove own and all children's Additional Core Properties. - removeAdditionalPropertySet( sal_True ); + removeAdditionalPropertySet( true ); } else if ( aCommand.Name == "transfer" ) { @@ -1008,7 +1008,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues( xAdditionalPropSet = uno::Reference< beans::XPropertySet >( pProvider->getAdditionalPropertySet( rContentId, - sal_False ), + false ), uno::UNO_QUERY ); bTriedToGetAdditionalPropSet = sal_True; } @@ -1106,7 +1106,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues( // Append all Additional Core Properties. uno::Reference< beans::XPropertySet > xSet( - pProvider->getAdditionalPropertySet( rContentId, sal_False ), + pProvider->getAdditionalPropertySet( rContentId, false ), uno::UNO_QUERY ); xRow->appendPropertySet( xSet ); } @@ -1279,7 +1279,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues( if ( !bTriedToGetAdditionalPropSet && !xAdditionalPropSet.is() ) { - xAdditionalPropSet = getAdditionalPropertySet( sal_False ); + xAdditionalPropSet = getAdditionalPropertySet( false ); bTriedToGetAdditionalPropSet = sal_True; } @@ -1344,7 +1344,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues( // Adapt Additional Core Properties. renameAdditionalPropertySet( xOldId->getContentIdentifier(), xNewId->getContentIdentifier(), - sal_True ); + true ); } else { @@ -2104,7 +2104,7 @@ void Content::transfer( aTargetUri += aSourceUri.getName(); if ( !copyAdditionalPropertySet( - aSourceUri.getUri(), aTargetUri, sal_True ) ) + aSourceUri.getUri(), aTargetUri, true ) ) { uno::Any aProps = uno::makeAny( @@ -2225,7 +2225,7 @@ void Content::transfer( } // Remove own and all children's Additional Core Properties. - if ( !xSource->removeAdditionalPropertySet( sal_True ) ) + if ( !xSource->removeAdditionalPropertySet( true ) ) { uno::Any aProps = uno::makeAny( diff --git a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx index 42f80af30bfe..f14cd677222c 100644 --- a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx +++ b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx @@ -211,20 +211,20 @@ ResultSetDataSupplier::queryContent( sal_uInt32 nIndex ) } // virtual -sal_Bool ResultSetDataSupplier::getResult( sal_uInt32 nIndex ) +bool ResultSetDataSupplier::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; } // Result not (yet) present. if ( m_pImpl->m_bCountFinal ) - return sal_False; + return false; // Try to obtain result... @@ -337,7 +337,7 @@ sal_uInt32 ResultSetDataSupplier::currentCount() } // virtual -sal_Bool ResultSetDataSupplier::isCountFinal() +bool ResultSetDataSupplier::isCountFinal() { return m_pImpl->m_bCountFinal; } diff --git a/ucb/source/ucp/tdoc/tdoc_datasupplier.hxx b/ucb/source/ucp/tdoc/tdoc_datasupplier.hxx index aff926a57cbf..af170d517e1a 100644 --- a/ucb/source/ucp/tdoc/tdoc_datasupplier.hxx +++ b/ucb/source/ucp/tdoc/tdoc_datasupplier.hxx @@ -52,11 +52,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 ); |