diff options
Diffstat (limited to 'chart2/source/tools/WrappedPropertySet.cxx')
-rw-r--r-- | chart2/source/tools/WrappedPropertySet.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/tools/WrappedPropertySet.cxx b/chart2/source/tools/WrappedPropertySet.cxx index 75bb8b68594f..959fe5ef5d70 100644 --- a/chart2/source/tools/WrappedPropertySet.cxx +++ b/chart2/source/tools/WrappedPropertySet.cxx @@ -234,7 +234,7 @@ void SAL_CALL WrappedPropertySet::setPropertyValues( const Sequence< OUString >& Sequence< Any > SAL_CALL WrappedPropertySet::getPropertyValues( const Sequence< OUString >& rNameSeq ) { Sequence< Any > aRetSeq; - if( rNameSeq.getLength() ) + if( rNameSeq.hasElements() ) { aRetSeq.realloc( rNameSeq.getLength() ); for(sal_Int32 nN=0; nN<rNameSeq.getLength(); nN++) @@ -306,7 +306,7 @@ const WrappedProperty* WrappedPropertySet::getWrappedProperty( sal_Int32 nHandle Sequence< beans::PropertyState > SAL_CALL WrappedPropertySet::getPropertyStates( const Sequence< OUString >& rNameSeq ) { Sequence< beans::PropertyState > aRetSeq; - if( rNameSeq.getLength() ) + if( rNameSeq.hasElements() ) { aRetSeq.realloc( rNameSeq.getLength() ); for(sal_Int32 nN=0; nN<rNameSeq.getLength(); nN++) @@ -366,7 +366,7 @@ void SAL_CALL WrappedPropertySet::setPropertiesToDefault( const Sequence< OUStri Sequence< Any > SAL_CALL WrappedPropertySet::getPropertyDefaults( const Sequence< OUString >& rNameSeq ) { Sequence< Any > aRetSeq; - if( rNameSeq.getLength() ) + if( rNameSeq.hasElements() ) { aRetSeq.realloc( rNameSeq.getLength() ); for(sal_Int32 nN=0; nN<rNameSeq.getLength(); nN++) |