From 595f46344e18fd6275ff7b862269e4c131449591 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 29 Feb 2016 13:37:14 +0200 Subject: loplugin:unuseddefaultparam in svx (part1) Change-Id: I0fc8d00447491e8474508952c21d07aa22b6f055 --- svx/source/tbxctrls/SvxColorValueSet.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'svx/source/tbxctrls') diff --git a/svx/source/tbxctrls/SvxColorValueSet.cxx b/svx/source/tbxctrls/SvxColorValueSet.cxx index 6d9c108745bd..52ee3f7c3a3d 100644 --- a/svx/source/tbxctrls/SvxColorValueSet.cxx +++ b/svx/source/tbxctrls/SvxColorValueSet.cxx @@ -80,8 +80,9 @@ void SvxColorValueSet::addEntriesForXColorList(const XColorList& rXColorList, sa } } -void SvxColorValueSet::addEntriesForColorSet(const std::set& rColorSet, const OUString& rNamePrefix, sal_uInt32 nStartIndex) +void SvxColorValueSet::addEntriesForColorSet(const std::set& rColorSet, const OUString& rNamePrefix) { + sal_uInt32 nStartIndex = 1; if(rNamePrefix.getLength() != 0) { for(std::set::const_iterator it = rColorSet.begin(); -- cgit