diff options
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/customize/CommandCategoryListBox.cxx | 4 | ||||
-rw-r--r-- | cui/source/inc/CommandCategoryListBox.hxx | 2 |
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(); |