From 7fa183cb1a04120b37069c63166182065c3d975c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 5 Aug 2016 11:00:36 +0200 Subject: loplugin:countusersofdefaultparams in chart2..desktop Change-Id: Iaca94acd6ef91f07ed0c0085390500c418099dee Reviewed-on: https://gerrit.libreoffice.org/27896 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cppu/source/uno/sequence.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cppu/source') diff --git a/cppu/source/uno/sequence.cxx b/cppu/source/uno/sequence.cxx index 3b5f01fdacee..18629a128d46 100644 --- a/cppu/source/uno/sequence.cxx +++ b/cppu/source/uno/sequence.cxx @@ -72,7 +72,7 @@ static inline bool idefaultConstructElements( uno_Sequence ** ppSeq, typelib_TypeDescriptionReference * pElementType, sal_Int32 nStartIndex, sal_Int32 nStopIndex, - sal_Int32 nAlloc = -1 ) // >= 0 means (re)alloc memory for nAlloc elements + sal_Int32 nAlloc ) // >= 0 means (re)alloc memory for nAlloc elements { uno_Sequence * pSeq = *ppSeq; switch (pElementType->eTypeClass) @@ -318,7 +318,7 @@ static inline bool icopyConstructFromElements( typelib_TypeDescriptionReference * pElementType, sal_Int32 nStartIndex, sal_Int32 nStopIndex, uno_AcquireFunc acquire, - sal_Int32 nAlloc = -1 ) // >= 0 means (re)alloc memory for nAlloc elements + sal_Int32 nAlloc ) // >= 0 means (re)alloc memory for nAlloc elements { uno_Sequence * pSeq = *ppSeq; switch (pElementType->eTypeClass) -- cgit