From bb932b34f19bf8297549b9741b7cdcfe691ca374 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 1 Sep 2016 09:30:40 +0200 Subject: std::list to vector Change-Id: I3b8b902108d632ea992018ca023984bf1366e804 --- sd/source/ui/animations/CustomAnimationPane.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index e328453757c9..1b958ad52a0b 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -1678,7 +1678,7 @@ void CustomAnimationPane::onChangeCurrentPage() } } -bool getTextSelection( const Any& rSelection, Reference< XShape >& xShape, std::list< sal_Int16 >& rParaList ) +bool getTextSelection( const Any& rSelection, Reference< XShape >& xShape, std::vector< sal_Int16 >& rParaList ) { Reference< XTextRange > xSelectedText; rSelection >>= xSelectedText; @@ -1812,13 +1812,13 @@ void CustomAnimationPane::onAdd() else if ( maViewSelection.getValueType() == cppu::UnoType::get()) { Reference< XShape > xShape; - std::list< sal_Int16 > aParaList; + std::vector< sal_Int16 > aParaList; if( getTextSelection( maViewSelection, xShape, aParaList ) ) { ParagraphTarget aParaTarget; aParaTarget.Shape = xShape; - std::list< sal_Int16 >::iterator aIter( aParaList.begin() ); + std::vector< sal_Int16 >::iterator aIter( aParaList.begin() ); for( ; aIter != aParaList.end(); ++aIter ) { aParaTarget.Paragraph = (*aIter); -- cgit