Kaydet (Commit) 84806f30 authored tarafından Michael Stahl's avatar Michael Stahl

sw: remove boost::bind from fmtatr2.cxx

Change-Id: I4924251babfcea9a87e7e688c904264dd80f9359
üst 737e3925
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
#include <docsh.hxx> #include <docsh.hxx>
#include <svl/zforlist.hxx> #include <svl/zforlist.hxx>
#include <boost/bind.hpp>
#include <algorithm> #include <algorithm>
using namespace ::com::sun::star; using namespace ::com::sun::star;
...@@ -811,7 +810,7 @@ MetaFieldManager::getMetaFields() ...@@ -811,7 +810,7 @@ MetaFieldManager::getMetaFields()
// erase deleted fields // erase deleted fields
const MetaFieldList_t::iterator iter( const MetaFieldList_t::iterator iter(
::std::remove_if(m_MetaFields.begin(), m_MetaFields.end(), ::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()); m_MetaFields.erase(iter, m_MetaFields.end());
// filter out fields in UNDO // filter out fields in UNDO
MetaFieldList_t filtered(m_MetaFields.size()); MetaFieldList_t filtered(m_MetaFields.size());
......
...@@ -109,7 +109,6 @@ ...@@ -109,7 +109,6 @@
#include <sortopt.hxx> #include <sortopt.hxx>
#include <algorithm> #include <algorithm>
#include <iterator> #include <iterator>
#include <boost/bind.hpp>
#include <calbck.hxx> #include <calbck.hxx>
#include <comphelper/servicehelper.hxx> #include <comphelper/servicehelper.hxx>
#include <cppuhelper/supportsservice.hxx> #include <cppuhelper/supportsservice.hxx>
......
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