diff options
Diffstat (limited to 'svx/source/table')
-rw-r--r-- | svx/source/table/tabledesign.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/tabledesign.cxx b/svx/source/table/tabledesign.cxx index 66c05447861e..2f0dbc92cf7a 100644 --- a/svx/source/table/tabledesign.cxx +++ b/svx/source/table/tabledesign.cxx @@ -235,10 +235,10 @@ sal_Bool SAL_CALL TableDesignStyle::isInUse() throw (RuntimeException, std::exce OInterfaceContainerHelper * pContainer = rBHelper.getContainer( cppu::UnoType<XModifyListener>::get() ); if( pContainer ) { - Sequence< Reference< XInterface > > aListener( pContainer->getElements() ); + std::vector< Reference< XInterface > > aListener( pContainer->getElementsAsVector() ); aGuard.clear(); - sal_Int32 nIndex = aListener.getLength(); + sal_Int32 nIndex = aListener.size(); while( --nIndex >= 0 ) { TableDesignUser* pUser = dynamic_cast< TableDesignUser* >( aListener[nIndex].get() ); |