[Libreoffice-commits] core.git: unoxml/source
Mario J. Rugiero
mrugiero at gmail.com
Thu Oct 22 08:27:50 PDT 2015
unoxml/source/dom/node.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit eb9e0ddfd69618bf0a7f8cd908c631751b93ea1e
Author: Mario J. Rugiero <mrugiero at gmail.com>
Date: Sun Oct 11 15:28:39 2015 -0300
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 at redhat.com>
Tested-by: Michael Stahl <mstahl at redhat.com>
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx
index 4501b7a..a01296e 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 );
More information about the Libreoffice-commits
mailing list