Replace uses of boost::bind with C++11 lambdas in unoxml/source/dom/node.cxx
Change-Id: I2455476a876012051ca1651721915243503fbb22 Reviewed-on: https://gerrit.libreoffice.org/19308 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
committed by
Michael Stahl
parent
475cf23efd
commit
eb9e0ddfd6
@@ -121,10 +121,8 @@ namespace DOM
|
||||
Context::NamespaceVectorType::value_type::const_iterator aIter;
|
||||
if( (aIter=std::find_if(rContext.maNamespaces.back().begin(),
|
||||
rContext.maNamespaces.back().end(),
|
||||
boost::bind(std::equal_to<OString>(),
|
||||
boost::bind(&Context::Namespace::getPrefix,
|
||||
_1),
|
||||
boost::cref(prefix)))) != rContext.maNamespaces.back().end() )
|
||||
[&prefix](const Context::Namespace &aNamespace){ return aNamespace.getPrefix() == prefix; } )) !=
|
||||
rContext.maNamespaces.back().end() )
|
||||
{
|
||||
nNamespaceToken = aIter->mnToken;
|
||||
sal_Int32 nNameToken = getToken( rContext, pName );
|
||||
|
||||
Reference in New Issue
Block a user