summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-15 15:00:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-15 21:33:59 +0200
commit64c16c94b7fba876077c32e27cea76bd0a87ed1f (patch)
treeaf5514545f670e539bb0085e0b435c3aacec5288 /include
parentSDK: fix image URLs in docs (diff)
downloadcore-64c16c94b7fba876077c32e27cea76bd0a87ed1f.tar.gz
core-64c16c94b7fba876077c32e27cea76bd0a87ed1f.zip
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.hxx2
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;