diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-29 10:11:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-29 10:11:53 +0200 |
commit | b55166d266f31caf7bd85e54a59c7e8b49204b16 (patch) | |
tree | f4d98e90c214a6e588e2b4e22c05b9c0f44309aa /svx/source/unodraw | |
parent | 39fd37f39db37a83c4a1491d68518e721b04fc5f (diff) |
Revert "return and use std::vector from OInterfaceContainerHelper"
This reverts commit e57314f61f67b093510c5a8a8f34a62126ba8734.
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r-- | svx/source/unodraw/unoshcol.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshcol.cxx b/svx/source/unodraw/unoshcol.cxx index 1a94ecf2b5b3..20133ca6faf1 100644 --- a/svx/source/unodraw/unoshcol.cxx +++ b/svx/source/unodraw/unoshcol.cxx @@ -229,10 +229,10 @@ uno::Any SAL_CALL SvxShapeCollection::getByIndex( sal_Int32 Index ) if( Index < 0 || Index >= getCount() ) throw lang::IndexOutOfBoundsException(); - std::vector< Reference< uno::XInterface> > xElements( maShapeContainer.getElementsAsVector() ); + uno::Sequence< Reference< uno::XInterface> > xElements( maShapeContainer.getElements() ); - return uno::makeAny( Reference< drawing::XShape>(static_cast< drawing::XShape* >( xElements[Index].get())) ); + return uno::makeAny( Reference< drawing::XShape>(static_cast< drawing::XShape* >( xElements.getArray()[Index].get())) ); } // XElementAccess |