summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-04-03 12:51:16 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-04 09:16:11 +0000
commitd3055b56c7a67e80e1c6e3bdd3838dd977a26926 (patch)
tree176ce5f581641d067ab2b8816ee6e3591694632d /svx/source
parent3900df378ccce285b49a71dbbc3e7bc23c9e7d64 (diff)
sequence->vector in svx
Change-Id: Iae188e15033983a08c76a7b88c4fa8f9777f0978 Reviewed-on: https://gerrit.libreoffice.org/23757 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index de8b9d4461d2..3c5f60400f3c 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -1516,15 +1516,15 @@ void EnhancedCustomShape2d::CreateSubPath( sal_uInt16& rSrcPt, sal_uInt16& rSegm
&& ( nCoordHeight == pDefCustomShape->nCoordHeight ) )
bIsDefaultViewBox = true;
sal_Int32 j, nCount = pDefCustomShape->nVertices;//==3
- css::uno::Sequence< css::drawing::EnhancedCustomShapeParameterPair> seqCoordinates1, seqCoordinates2;
+ std::vector< css::drawing::EnhancedCustomShapeParameterPair> seqCoordinates1, seqCoordinates2;
- seqCoordinates1.realloc( nCount );
+ seqCoordinates1.resize( nCount );
for ( j = 0; j < nCount; j++ )
{
seqCoordinates1[j] = seqCoordinates[ rSrcPt + j];
}
- seqCoordinates2.realloc( nCount );
+ seqCoordinates2.resize( nCount );
for ( j = 0; j < nCount; j++ )
{
EnhancedCustomShape2d::SetEnhancedCustomShapeParameter( seqCoordinates2[ j ].First, pDefCustomShape->pVertices[ j ].nValA );