diff options
Diffstat (limited to 'ucb/source/ucp/package/pkgdatasupplier.cxx')
-rw-r--r-- | ucb/source/ucp/package/pkgdatasupplier.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ucb/source/ucp/package/pkgdatasupplier.cxx b/ucb/source/ucp/package/pkgdatasupplier.cxx index 3b39f58e9b4b..e4a532941414 100644 --- a/ucb/source/ucp/package/pkgdatasupplier.cxx +++ b/ucb/source/ucp/package/pkgdatasupplier.cxx @@ -224,25 +224,25 @@ uno::Reference< ucb::XContent > DataSupplier::queryContent( //========================================================================= // 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; } // Result not (yet) present. if ( m_pImpl->m_bCountFinal ) - return sal_False; + return false; // Try to obtain result... sal_uInt32 nOldCount = m_pImpl->m_aResults.size(); - sal_Bool bFound = sal_False; + bool bFound = false; sal_uInt32 nPos = nOldCount; while ( m_pImpl->m_xFolderEnum->hasMoreElements() ) @@ -274,7 +274,7 @@ sal_Bool DataSupplier::getResult( sal_uInt32 nIndex ) if ( nPos == nIndex ) { // Result obtained. - bFound = sal_True; + bFound = true; break; } @@ -388,7 +388,7 @@ sal_uInt32 DataSupplier::currentCount() //========================================================================= // virtual -sal_Bool DataSupplier::isCountFinal() +bool DataSupplier::isCountFinal() { return m_pImpl->m_bCountFinal; } |