diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index 2c627134ac30..353f91a82708 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -30,7 +30,6 @@ #include #include -#include #include #include @@ -1253,8 +1252,8 @@ throw (uno::RuntimeException, rdf::RepositoryException, std::exception) ::std::vector< uno::Reference > ret; std::transform(m_NamedGraphs.begin(), m_NamedGraphs.end(), std::back_inserter(ret), - boost::bind(&rdf::XNamedGraph::getName, - boost::bind(&NamedGraphMap_t::value_type::second, _1))); + [](std::pair> const& it) + { return it.second->getName(); }); return comphelper::containerToSequence(ret); } @@ -1585,7 +1584,8 @@ throw (uno::RuntimeException, lang::IllegalArgumentException, predicates; ::std::transform(i_rPredicates.begin(), i_rPredicates.end(), ::std::back_inserter(predicates), - ::boost::bind(&librdf_TypeConverter::extractResource_NoLock, _1)); + [](uno::Reference const& xURI) + { return librdf_TypeConverter::extractResource_NoLock(xURI); }); removeStatementRDFa(i_xObject); // not atomic with insertion?