summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/standardcontrol.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-02-02 15:47:41 +0100
committerMichael Stahl <mstahl@redhat.com>2016-02-03 11:12:49 +0100
commit8c279f01597cea9850ab68add6fa3370eb61c1b2 (patch)
tree7fcf10c8f6ff7126b6dc82901748d0e2d812e8c8 /extensions/source/propctrlr/standardcontrol.cxx
parentbf253799f6858aa1ab607b8f127c0ed6bd2c1b45 (diff)
extensions: replace boost::bind with lambda
Change-Id: I3f0b1835aac20cfd1c149caa122bed1cc96d699e
Diffstat (limited to 'extensions/source/propctrlr/standardcontrol.cxx')
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index f01e8f365cdc..25e4bd45407b 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -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); });
}