Kaydet (Commit) 8c279f01 authored tarafından Michael Stahl's avatar Michael Stahl

extensions: replace boost::bind with lambda

Change-Id: I3f0b1835aac20cfd1c149caa122bed1cc96d699e
üst bf253799
......@@ -48,7 +48,6 @@
#include <cstdlib>
#include <limits>
#include <boost/bind.hpp>
#include <memory>
......@@ -464,9 +463,8 @@ namespace pcr
{
ActionEvent aEvent( *this, OUString( "clicked" ) );
m_aActionListeners.forEach< XActionListener >(
boost::bind(
&XActionListener::actionPerformed,
_1, boost::cref(aEvent) ) );
[this, &aEvent] (uno::Reference<awt::XActionListener> const& xListener)
{ return xListener->actionPerformed(aEvent); });
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment