diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-13 16:57:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-21 09:53:46 +0200 |
commit | 8477bbf8d6867e656b8132f0ddd682d08590a547 (patch) | |
tree | 11d1f70190b6478bf3b070480393f364d58c81ab /svx/source/inc | |
parent | c764b37489fb5f639c9e1c4faba64ebe405cc347 (diff) |
weld ListBoxControl
Change-Id: I5a8c7d68e4c147eb938b0217dc6368c832e465c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94154
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/inc')
-rw-r--r-- | svx/source/inc/gridcell.hxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx index f30d96c8790a..360e6d83da8a 100644 --- a/svx/source/inc/gridcell.hxx +++ b/svx/source/inc/gridcell.hxx @@ -993,14 +993,17 @@ public: virtual void SAL_CALL makeVisible(sal_Int16 nEntry) override; private: - virtual void onWindowEvent( const VclEventId _nEventId, const vcl::Window& _rWindow, const void* _pEventData ) override; virtual ~FmXListBoxCell() override; - DECL_LINK( OnDoubleClick, ListBox&, void ); + DECL_LINK(ChangedHdl, weld::ComboBox&, void); + + void OnDoubleClick(); ::comphelper::OInterfaceContainerHelper2 m_aItemListeners, m_aActionListeners; - VclPtr<ListBox> m_pBox; + weld::ComboBox* m_pBox; + sal_uInt16 m_nLines; + bool m_bMulti; }; @@ -1012,7 +1015,7 @@ class FmXComboBoxCell :public FmXTextCell private: ::comphelper::OInterfaceContainerHelper2 m_aItemListeners, m_aActionListeners; - weld::ComboBox& m_rComboBox; + weld::ComboBox* m_pComboBox; sal_uInt16 m_nLines; DECL_LINK(ChangedHdl, weld::ComboBox&, void); |