summaryrefslogtreecommitdiff
path: root/cui/source/customize
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-09 08:50:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-09 13:49:39 +0200
commit13e5d52fc37f9283edd8a055d6b86108701182f1 (patch)
tree54a21d76afa9a2ecbf64527d343727b430c42934 /cui/source/customize
parent317a90fd9d090aa2fe879549553d6491eb5028bf (diff)
loplugin:constantparam
Change-Id: I7bbc4e1546acf58f1ca24bfec5e465bad5ca90de Reviewed-on: https://gerrit.libreoffice.org/73732 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/customize')
-rw-r--r--cui/source/customize/SvxToolbarConfigPage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx b/cui/source/customize/SvxToolbarConfigPage.cxx
index 178a9c851ac3..fde5b58dd58b 100644
--- a/cui/source/customize/SvxToolbarConfigPage.cxx
+++ b/cui/source/customize/SvxToolbarConfigPage.cxx
@@ -856,7 +856,7 @@ void SvxToolbarConfigPage::SelectElement()
UpdateButtonStates();
}
-void SvxToolbarConfigPage::AddFunction(int nTarget, bool bFront)
+void SvxToolbarConfigPage::AddFunction(int nTarget)
{
SvxConfigEntry* pToolbar = GetTopLevelSelection();
@@ -865,7 +865,7 @@ void SvxToolbarConfigPage::AddFunction(int nTarget, bool bFront)
// Add the command to the contents listbox of the selected toolbar
int nNewLBEntry =
- SvxConfigPage::AddFunction(nTarget, bFront, true/*bAllowDuplicates*/);
+ SvxConfigPage::AddFunction(nTarget, /*bFront*/false, true/*bAllowDuplicates*/);
if (nNewLBEntry == -1)
return;