include/tools/wintypes.hxx | 2 -- vcl/source/control/imp_listbox.cxx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-)
New commits: commit befaaa3165091d4fce21fe6e5f5781e3d6ea242b Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue May 26 19:28:40 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed May 27 10:08:00 2020 +0200 WB_LISTBOX_POPUP is newly unused Change-Id: I97a52499e1fda8a9426e6956e3e925e0572c41ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94886 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/include/tools/wintypes.hxx b/include/tools/wintypes.hxx index 865d62c9e802..58050521c8cb 100644 --- a/include/tools/wintypes.hxx +++ b/include/tools/wintypes.hxx @@ -205,8 +205,6 @@ WinBits const WB_IGNORETAB = 0x20000000; // Window-Bits for ListBox and MultiListBox WinBits const WB_SIMPLEMODE = 0x20000000; -// Special case where the listbox is used as a dropdown popup (not a combobox) -WinBits const WB_LISTBOX_POPUP = 0x40000000; // Window-Bits for FixedBitmap WinBits const WB_SCALE = 0x08000000; diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx index b174d21c0f2e..795385434d67 100644 --- a/vcl/source/control/imp_listbox.cxx +++ b/vcl/source/control/imp_listbox.cxx @@ -467,7 +467,7 @@ ImplListBoxWindow::ImplListBoxWindow( vcl::Window* pParent, WinBits nWinStyle ) mbCenter = ( nWinStyle & WB_CENTER ); mbSimpleMode = ( nWinStyle & WB_SIMPLEMODE ); mbSort = ( nWinStyle & WB_SORT ); - mbIsDropdown = ( nWinStyle & WB_DROPDOWN ) || ( nWinStyle & WB_LISTBOX_POPUP ); + mbIsDropdown = ( nWinStyle & WB_DROPDOWN ); mbEdgeBlending = false; // pb: #106948# explicit mirroring for calc _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits