summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorMario J. Rugiero <mrugiero@gmail.com>2015-10-11 15:28:39 -0300
committerMichael Stahl <mstahl@redhat.com>2015-10-22 15:27:14 +0000
commiteb9e0ddfd69618bf0a7f8cd908c631751b93ea1e (patch)
treef45077dc38a8907a2e81435ce3dbacba4bb5b276 /unoxml
parent475cf23efd7f278f3032c3b59fcee21ed6e5b1f1 (diff)
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>
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/node.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx
index 4501b7ad26e7..a01296e21f0e 100644
--- a/unoxml/source/dom/node.cxx
+++ b/unoxml/source/dom/node.cxx
@@ -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 );