diff options
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx')
-rw-r--r-- | chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx index 52a94d20b6c0..ecc5ebbe4a92 100644 --- a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx @@ -245,7 +245,7 @@ void SAL_CALL UpDownBarWrapper::setPropertyValues( const uno::Sequence< OUString uno::Sequence< uno::Any > SAL_CALL UpDownBarWrapper::getPropertyValues( const uno::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++) @@ -283,7 +283,7 @@ beans::PropertyState SAL_CALL UpDownBarWrapper::getPropertyState( const OUString uno::Sequence< beans::PropertyState > SAL_CALL UpDownBarWrapper::getPropertyStates( const uno::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++) @@ -330,7 +330,7 @@ void SAL_CALL UpDownBarWrapper::setPropertiesToDefault( const uno::Sequence< OUS uno::Sequence< uno::Any > SAL_CALL UpDownBarWrapper::getPropertyDefaults( const uno::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++) |