summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-29 13:37:14 +0200
committerNoel Grandin <noel@peralex.com>2016-03-01 08:30:27 +0200
commit595f46344e18fd6275ff7b862269e4c131449591 (patch)
tree0de2d2e300399b9aa9c0fea2dd6ca2155f8a231a /svx/source/tbxctrls
parent44e700f70d750cf1c6aac89d0dd07a4f57879b1b (diff)
loplugin:unuseddefaultparam in svx (part1)
Change-Id: I0fc8d00447491e8474508952c21d07aa22b6f055
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r--svx/source/tbxctrls/SvxColorValueSet.cxx3
1 files changed, 2 insertions, 1 deletions
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<Color>& rColorSet, const OUString& rNamePrefix, sal_uInt32 nStartIndex)
+void SvxColorValueSet::addEntriesForColorSet(const std::set<Color>& rColorSet, const OUString& rNamePrefix)
{
+ sal_uInt32 nStartIndex = 1;
if(rNamePrefix.getLength() != 0)
{
for(std::set<Color>::const_iterator it = rColorSet.begin();