summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-08 12:58:11 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-08 12:59:07 +0200
commit056066dfdb4e4a91aa742028f6a9c06eedeaa537 (patch)
treeff4c83984dbf7a52bc493440f872c22bbac8e281 /sw
parent1dca84e374898185851b5a90595a8b5b741431ad (diff)
sw: remove boost::bind from accmap.cxx
Change-Id: I9953cd58e4e285f655f11afccc1d6ee535f85d7e
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/pch/precompiled_sw.hxx1
-rw-r--r--sw/source/core/access/accmap.cxx3
2 files changed, 1 insertions, 3 deletions
diff --git a/sw/inc/pch/precompiled_sw.hxx b/sw/inc/pch/precompiled_sw.hxx
index f14d1c9f54f9..576c7214205a 100644
--- a/sw/inc/pch/precompiled_sw.hxx
+++ b/sw/inc/pch/precompiled_sw.hxx
@@ -43,7 +43,6 @@
#include <basic/sbx.hxx>
#include <basic/sbxobj.hxx>
#include <basic/sbxvar.hxx>
-#include <boost/bind.hpp>
#include <boost/function.hpp>
#include <boost/make_shared.hpp>
#include <boost/noncopyable.hpp>
diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index e6822921648e..6a0883f3b6ff 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -71,7 +71,6 @@
#include <dflyobj.hxx>
#include <prevwpage.hxx>
#include <calbck.hxx>
-#include <boost/bind.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::accessibility;
@@ -3092,7 +3091,7 @@ void SwAccessibleMap::FireEvents()
mpEvents->SetFiring();
mpEvents->MoveInvalidXAccToEnd();
::std::for_each(mpEvents->begin(), mpEvents->end(),
- boost::bind(&SwAccessibleMap::FireEvent, this, _1));
+ [this] (SwAccessibleEvent_Impl const& rEvent) { this->FireEvent(rEvent); } );
delete mpEventMap;
mpEventMap = nullptr;