summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-20 15:22:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-21 13:25:38 +0200
commit0677d46bcc56c1f6c27b9331662990b38fd452d6 (patch)
treee10c8fb1bc934a3d0868ae4e144ad3631b8c0938 /include/vcl
parent119b6876c92e4cdae44583c4b1b1419d3533e3ee (diff)
FmXListBoxCell doesn't need to implement css::awt::XListBox
FmXListBoxCell implements css::awt::XListBox but none of that functionality is needed locally where it is used to pick a value in a cell when edited interactively. As an XInterface a FmXListBoxCell does fall into the script::XEventAttacherManager attach/detach sink-hole so its very difficult to determine if it (and any of its siblings) really need to implement the amount of uno interfaces they actually implement, so this is a little speculative. See https://ask.libreoffice.org/en/question/152691/how-to-populate-combo-box-within-table-control-in-form/ for an example of the ComboBox interaction case which is similar to this ListBox case. The exotic "multiselection" option definitely isn't shown as an option in the property browser for a listbox column in the table control. Change-Id: I7bdc351e615c9df708a30e4396f6f352fabaed36 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94584 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/weld.hxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index d7a9ec278731..fd734309d6a9 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -749,16 +749,6 @@ public:
virtual void set_max_mru_count(int nCount) = 0;
virtual OUString get_mru_entries() const = 0;
virtual void set_mru_entries(const OUString& rEntries) = 0;
-
- // Form Controls List Box related multi-selection support
- // Only SelectionMode::Single or SelectionMode::Multiple are supported.
- // SelectionMode::Multiple mode is basically bizarre but in use in
- // the Form Controls List Box which we seem stuck with
- virtual void set_selection_mode(SelectionMode eMode) = 0;
- virtual void scroll_to_row(int pos) = 0;
- virtual void select(int pos) = 0;
- virtual void unselect(int pos) = 0;
- virtual std::vector<int> get_selected_rows() const = 0;
};
class VCL_DLLPUBLIC TreeIter