diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-15 15:00:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-15 21:33:59 +0200 |
commit | 64c16c94b7fba876077c32e27cea76bd0a87ed1f (patch) | |
tree | af5514545f670e539bb0085e0b435c3aacec5288 /include | |
parent | c6e9be6bd817f7bae78fb95966019ad02947d47a (diff) |
add model support to ComboBox like ListBox
Change-Id: I325650a8e95ea7eb426714f6ab8313dcec162e46
Reviewed-on: https://gerrit.libreoffice.org/60527
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/builder.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx index 0ae018a601dc..534789b12cb2 100644 --- a/include/vcl/builder.hxx +++ b/include/vcl/builder.hxx @@ -35,6 +35,7 @@ #include <com/sun/star/uno/XComponentContext.hpp> class Button; +class ComboBox; class ListBox; class MessageDialog; class NumericFormatter; @@ -218,6 +219,7 @@ private: const ListStore* get_model_by_name(const OString& sID) const; void mungeModel(ListBox &rTarget, const ListStore &rStore, sal_uInt16 nActiveId); + void mungeModel(ComboBox &rTarget, const ListStore &rStore, sal_uInt16 nActiveId); typedef stringmap TextBuffer; const TextBuffer* get_buffer_by_name(const OString& sID) const; |