diff options
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/client/content.cxx | 2 | ||||
-rw-r--r-- | ucbhelper/source/provider/contenthelper.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx index 01d55bf6211c..04eccd0f0057 100644 --- a/ucbhelper/source/client/content.cxx +++ b/ucbhelper/source/client/content.cxx @@ -1201,7 +1201,7 @@ Reference< XContent > Content_Impl::getContent() Reference< XUniversalContentBroker > pBroker( UniversalContentBroker::create( getComponentContext() ) ); - OSL_ENSURE( pBroker->queryContentProviders().getLength(), + OSL_ENSURE( pBroker->queryContentProviders().hasElements(), "Content Broker not configured (no providers)!" ); Reference< XContentIdentifier > xId diff --git a/ucbhelper/source/provider/contenthelper.cxx b/ucbhelper/source/provider/contenthelper.cxx index 5c64416a1c59..73b8a67d5949 100644 --- a/ucbhelper/source/provider/contenthelper.cxx +++ b/ucbhelper/source/provider/contenthelper.cxx @@ -527,7 +527,7 @@ void SAL_CALL ContentImplHelper::removeProperty( const OUString& Name ) // Success! - if ( xSet->getPropertySetInfo()->getProperties().getLength() == 0 ) + if ( !xSet->getPropertySetInfo()->getProperties().hasElements() ) { // Remove empty propertyset from registry. uno::Reference< css::ucb::XPropertySetRegistry > |