From 056066dfdb4e4a91aa742028f6a9c06eedeaa537 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 8 Jul 2015 12:58:11 +0200 Subject: sw: remove boost::bind from accmap.cxx Change-Id: I9953cd58e4e285f655f11afccc1d6ee535f85d7e --- sw/inc/pch/precompiled_sw.hxx | 1 - sw/source/core/access/accmap.cxx | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'sw') 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 #include #include -#include #include #include #include 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 #include #include -#include 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; -- cgit