From 2e0a25ce2b87d3a4bbf944025fc3720933fb391d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 Sep 2017 08:31:42 +0200 Subject: loplugin:constantparam Change-Id: Ic87f0cc863490858b7cc7e74a7f90ec31992dd53 Reviewed-on: https://gerrit.libreoffice.org/42089 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/customize/CommandCategoryListBox.cxx | 4 ++-- cui/source/inc/CommandCategoryListBox.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cui') diff --git a/cui/source/customize/CommandCategoryListBox.cxx b/cui/source/customize/CommandCategoryListBox.cxx index 50542739c82e..c41fcc45b362 100644 --- a/cui/source/customize/CommandCategoryListBox.cxx +++ b/cui/source/customize/CommandCategoryListBox.cxx @@ -36,8 +36,8 @@ #include #include -CommandCategoryListBox::CommandCategoryListBox(vcl::Window* pParent, WinBits nStyle) - : ListBox( pParent, nStyle) +CommandCategoryListBox::CommandCategoryListBox(vcl::Window* pParent) + : ListBox( pParent, WB_BORDER | WB_DROPDOWN) { SetDropDownLineCount(25); diff --git a/cui/source/inc/CommandCategoryListBox.hxx b/cui/source/inc/CommandCategoryListBox.hxx index a3480af6ae48..0a2778d8a1c0 100644 --- a/cui/source/inc/CommandCategoryListBox.hxx +++ b/cui/source/inc/CommandCategoryListBox.hxx @@ -37,7 +37,7 @@ class CommandCategoryListBox : public ListBox i18nutil::SearchOptions2 m_searchOptions; public: - CommandCategoryListBox( vcl::Window* pParent, WinBits nBits = WB_BORDER | WB_DROPDOWN ); + CommandCategoryListBox( vcl::Window* pParent ); virtual ~CommandCategoryListBox() override; virtual void dispose() override; void ClearAll(); -- cgit