diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-10-08 01:30:30 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-10-10 19:27:17 +0200 |
commit | 47ec4332dde7a8b7a8abb188679e8b13481bd62f (patch) | |
tree | 4b8e8ad3bdc2f35923454fbace26b8a3f18a9448 /vcl | |
parent | d4ce82b3c9afa522831e582b6bdae211478ab4b2 (diff) |
add a method to get all entries from ListControl
Change-Id: I9ff73dab53f5769270e8eb32889314e9c61a1828
Reviewed-on: https://gerrit.libreoffice.org/43254
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/listctrl.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/control/listctrl.cxx b/vcl/source/control/listctrl.cxx index 1c6aa0c85742..66c743fd83a2 100644 --- a/vcl/source/control/listctrl.cxx +++ b/vcl/source/control/listctrl.cxx @@ -142,6 +142,11 @@ void ListControl::deleteEntry(sal_uInt32 nPos) RecalcAll(); } +std::vector<VclPtr<vcl::Window>> ListControl::getEntries() const +{ + return maEntries; +} + bool ListControl::EventNotify( NotifyEvent& rNEvt ) { if (rNEvt.GetType() == MouseNotifyEvent::COMMAND) |