Kaydet (Commit) eb9e0ddf authored tarafından Mario J. Rugiero's avatar Mario J. Rugiero Kaydeden (comit) Michael Stahl

Replace uses of boost::bind with C++11 lambdas in unoxml/source/dom/node.cxx

Change-Id: I2455476a876012051ca1651721915243503fbb22
Reviewed-on: https://gerrit.libreoffice.org/19308Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 475cf23e
......@@ -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 );
......
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