summaryrefslogtreecommitdiff
path: root/vcl/source/control/listctrl.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-10-08 01:30:04 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-10-10 17:30:38 +0200
commitfb584d4fd3da60589ddcc3a0a712cdedfd4c75de (patch)
treedb9423c11a621ad2ccaff95674e880b431674af8 /vcl/source/control/listctrl.cxx
parent02ff84dca24793a54c0fd5ce783550900eb0cd27 (diff)
store vcl::Window in ListControl to allow adding VclContainer
Change-Id: Ib7f145ae1137ec29749e0a60a21e84dd747ac5c1 Reviewed-on: https://gerrit.libreoffice.org/43253 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl/source/control/listctrl.cxx')
-rw-r--r--vcl/source/control/listctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/listctrl.cxx b/vcl/source/control/listctrl.cxx
index 3f846ad03138..1c6aa0c85742 100644
--- a/vcl/source/control/listctrl.cxx
+++ b/vcl/source/control/listctrl.cxx
@@ -118,7 +118,7 @@ IMPL_LINK_NOARG( ListControl, ScrollHdl, ScrollBar*, void )
DoScroll(mpScrollBar->GetDelta());
}
-void ListControl::addEntry(VclPtr<Control> xEntry, sal_uInt32 nPos)
+void ListControl::addEntry(VclPtr<Window> xEntry, sal_uInt32 nPos)
{
xEntry->Show();
if (nPos < maEntries.size())