diff options
Diffstat (limited to 'ucb/source/cacher')
-rw-r--r-- | ucb/source/cacher/cachedcontentresultset.cxx | 2 | ||||
-rw-r--r-- | ucb/source/cacher/contentresultsetwrapper.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx index 019e2ea59cec..4c66b382dbe0 100644 --- a/ucb/source/cacher/cachedcontentresultset.cxx +++ b/ucb/source/cacher/cachedcontentresultset.cxx @@ -558,7 +558,7 @@ Property SAL_CALL CCRS_PropertySetInfo ::getPropertyByName( const OUString& aName ) throw( UnknownPropertyException, RuntimeException ) { - if ( !aName.getLength() ) + if ( aName.isEmpty() ) throw UnknownPropertyException(); Property aProp; diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx index c720ef3ab068..d6cbbfc02377 100644 --- a/ucb/source/cacher/contentresultsetwrapper.cxx +++ b/ucb/source/cacher/contentresultsetwrapper.cxx @@ -585,7 +585,7 @@ void SAL_CALL ContentResultSetWrapper throw UnknownPropertyException(); } - if( aPropertyName.getLength() ) + if( !aPropertyName.isEmpty() ) { m_xPropertySetInfo->getPropertyByName( aPropertyName ); //throws UnknownPropertyException, if so @@ -636,7 +636,7 @@ void SAL_CALL ContentResultSetWrapper OSL_FAIL( "broadcaster was disposed already" ); throw UnknownPropertyException(); } - if( rPropertyName.getLength() ) + if( !rPropertyName.isEmpty() ) { m_xPropertySetInfo->getPropertyByName( rPropertyName ); //throws UnknownPropertyException, if so @@ -693,7 +693,7 @@ void SAL_CALL ContentResultSetWrapper if( !pContainer ) { - if( rPropertyName.getLength() ) + if( !rPropertyName.isEmpty() ) { if( !getPropertySetInfo().is() ) throw UnknownPropertyException(); @@ -752,7 +752,7 @@ void SAL_CALL ContentResultSetWrapper if( !pContainer ) { - if( rPropertyName.getLength() ) + if( !rPropertyName.isEmpty() ) { if( !getPropertySetInfo().is() ) throw UnknownPropertyException(); |