summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-08 08:31:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-08 09:19:32 +0200
commit2e0a25ce2b87d3a4bbf944025fc3720933fb391d (patch)
tree57bd8b7c4a4cfe2c0bf5072b25f1d525096d4ff2 /cui
parentZLIB_LIBS must be passed into external/cairo as LIBS, not LDFLAGS (diff)
downloadcore-2e0a25ce2b87d3a4bbf944025fc3720933fb391d.tar.gz
core-2e0a25ce2b87d3a4bbf944025fc3720933fb391d.zip
loplugin:constantparam
Change-Id: Ic87f0cc863490858b7cc7e74a7f90ec31992dd53 Reviewed-on: https://gerrit.libreoffice.org/42089 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/CommandCategoryListBox.cxx4
-rw-r--r--cui/source/inc/CommandCategoryListBox.hxx2
2 files changed, 3 insertions, 3 deletions
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 <o3tl/make_unique.hxx>
#include <i18nutil/searchopt.hxx>
-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();