summaryrefslogtreecommitdiff
path: root/cui/source/customize/CommandCategoryListBox.cxx
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/source/customize/CommandCategoryListBox.cxx
parentb02b3bcf4465c9ccb3edcaa26e090db0581cba9e (diff)
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/source/customize/CommandCategoryListBox.cxx')
-rw-r--r--cui/source/customize/CommandCategoryListBox.cxx4
1 files changed, 2 insertions, 2 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);