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 /include | |
parent | b184b4249d114bafba7d2afd00093747db556d33 (diff) |
ucb: replace boost::bind with C++11 lambdas
... and remove now unused comphelper::TNamedValueEqualFunctor.
Change-Id: Ia6cac4ae4e34d2ba134e2f2a4a5b4daea58bf0b3
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/stl_types.hxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/comphelper/stl_types.hxx b/include/comphelper/stl_types.hxx index f38a9cf061a5..e6c4a72f8bf0 100644 --- a/include/comphelper/stl_types.hxx +++ b/include/comphelper/stl_types.hxx @@ -29,7 +29,6 @@ #include <rtl/ustrbuf.hxx> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/beans/NamedValue.hpp> namespace comphelper { @@ -76,17 +75,6 @@ public: } }; -class TNamedValueEqualFunctor : public ::std::binary_function< css::beans::NamedValue,OUString,bool> -{ -public: - TNamedValueEqualFunctor() - {} - bool operator() (const css::beans::NamedValue& lhs, const OUString& rhs) const - { - return !!(lhs.Name == rhs); - } -}; - /// by-value less functor for std::set<std::unique_ptr<T>> template<class T> struct UniquePtrValueLess : public ::std::binary_function<std::unique_ptr<T>, std::unique_ptr<T>, bool> |