diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-03-03 14:28:30 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-03-03 15:04:11 +0100 |
commit | c96dc8822d8bb7c1b8309888b22254cac2abc5ce (patch) | |
tree | 8a1b279b348d057462762433eac5caf000359838 /ucb/source | |
parent | b184b4249d114bafba7d2afd00093747db556d33 (diff) |
ucb: replace boost::bind with C++11 lambdas
... and remove now unused comphelper::TNamedValueEqualFunctor.
Change-Id: Ia6cac4ae4e34d2ba134e2f2a4a5b4daea58bf0b3
Diffstat (limited to 'ucb/source')
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index 83e5ba7a7475..516797e6203e 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -47,7 +47,6 @@ extern "C" { #include "rtl/ustrbuf.hxx" #include "comphelper/processfactory.hxx" #include "comphelper/sequence.hxx" -#include <comphelper/stl_types.hxx> #include "ucbhelper/simplecertificatevalidationrequest.hxx" #include "DAVAuthListener.hxx" @@ -71,7 +70,6 @@ extern "C" { #include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/xml/crypto/SEInitializer.hpp> -#include <boost/bind.hpp> using namespace com::sun::star; using namespace webdav_ucp; @@ -148,9 +146,7 @@ static bool noKeepAlive( const uno::Sequence< beans::NamedValue >& rFlags ) const sal_Int32 nLen(rFlags.getLength()); const beans::NamedValue* pValue( std::find_if(pAry,pAry+nLen, - boost::bind(comphelper::TNamedValueEqualFunctor(), - _1, - OUString("KeepAlive")))); + [] (beans::NamedValue const& rNV) { return rNV.Name == OUString("KeepAlive"); } )); if ( pValue != pAry+nLen && !pValue->Value.get<sal_Bool>() ) return true; |