diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-08 12:46:37 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-08 12:59:06 +0200 |
commit | 84806f306114a038b4d5cc4eb6f34b90fbe71f9d (patch) | |
tree | e60759b088701e2266bae392675ff39dc5550cd5 /sw | |
parent | 737e392537d909f7915fb071230cc59ee1ff51e6 (diff) |
sw: remove boost::bind from fmtatr2.cxx
Change-Id: I4924251babfcea9a87e7e688c904264dd80f9359
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/txtnode/fmtatr2.cxx | 3 | ||||
-rw-r--r-- | sw/source/core/unocore/unoobj2.cxx | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/core/txtnode/fmtatr2.cxx b/sw/source/core/txtnode/fmtatr2.cxx index 90a45b94b6a1..dcd698e306c9 100644 --- a/sw/source/core/txtnode/fmtatr2.cxx +++ b/sw/source/core/txtnode/fmtatr2.cxx @@ -48,7 +48,6 @@ #include <docsh.hxx> #include <svl/zforlist.hxx> -#include <boost/bind.hpp> #include <algorithm> using namespace ::com::sun::star; @@ -811,7 +810,7 @@ MetaFieldManager::getMetaFields() // erase deleted fields const MetaFieldList_t::iterator iter( ::std::remove_if(m_MetaFields.begin(), m_MetaFields.end(), - ::boost::bind(&::boost::weak_ptr<MetaField>::expired, _1))); + [] (::boost::weak_ptr<MetaField> const& rField) { return rField.expired(); })); m_MetaFields.erase(iter, m_MetaFields.end()); // filter out fields in UNDO MetaFieldList_t filtered(m_MetaFields.size()); diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx index e1bdf2e79c5f..1610bd54200e 100644 --- a/sw/source/core/unocore/unoobj2.cxx +++ b/sw/source/core/unocore/unoobj2.cxx @@ -109,7 +109,6 @@ #include <sortopt.hxx> #include <algorithm> #include <iterator> -#include <boost/bind.hpp> #include <calbck.hxx> #include <comphelper/servicehelper.hxx> #include <cppuhelper/supportsservice.hxx> |