diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-17 11:33:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-17 12:41:38 +0200 |
commit | a50cd18768289c65debeed5ec507cf37095365b8 (patch) | |
tree | 1a057021e9a49791e8e2b6b03fc7f4a47dc43281 /svtools/source/table/tablecontrol.cxx | |
parent | 81908b38536be0764955fe73f200417b7955a91b (diff) |
make Control::ImplCallEventListenersAndHandler take a lambda
so that we make the Link<> calls type-safe, without having to make this
a template method
Change-Id: I2e36bd6aa7c63440f72d266b593e101965b5ebce
Diffstat (limited to 'svtools/source/table/tablecontrol.cxx')
-rw-r--r-- | svtools/source/table/tablecontrol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx index d9092aacad49..4a9632cc8405 100644 --- a/svtools/source/table/tablecontrol.cxx +++ b/svtools/source/table/tablecontrol.cxx @@ -652,7 +652,7 @@ namespace svt { namespace table void TableControl::Select() { - ImplCallEventListenersAndHandler( VCLEVENT_TABLEROW_SELECT, m_pImpl->getSelectHandler(), this ); + ImplCallEventListenersAndHandler( VCLEVENT_TABLEROW_SELECT, [this] () { m_pImpl->getSelectHandler().Call(this); } ); if ( m_pImpl->isAccessibleAlive() ) { |