summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-05 11:00:36 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-05 10:28:25 +0000
commit7fa183cb1a04120b37069c63166182065c3d975c (patch)
tree089d60ab2ffb5976d102b1f25b40fdc756cb4eb1 /cppu
parent755a4838054050111f2118d0957041120831f5df (diff)
loplugin:countusersofdefaultparams in chart2..desktop
Change-Id: Iaca94acd6ef91f07ed0c0085390500c418099dee Reviewed-on: https://gerrit.libreoffice.org/27896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/uno/sequence.cxx4
1 files changed, 2 insertions, 2 deletions
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)