svx/source/customshapes/EnhancedCustomShape2d.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit d3055b56c7a67e80e1c6e3bdd3838dd977a26926 Author: Noel Grandin <noelgran...@gmail.com> Date: Sun Apr 3 12:51:16 2016 +0200 sequence->vector in svx Change-Id: Iae188e15033983a08c76a7b88c4fa8f9777f0978 Reviewed-on: https://gerrit.libreoffice.org/23757 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noelgran...@gmail.com> diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx index de8b9d4..3c5f604 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 ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits