diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/property/opropertybag.cxx | 3 | ||||
-rw-r--r-- | comphelper/source/property/propertycontainerhelper.cxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/comphelper/source/property/opropertybag.cxx b/comphelper/source/property/opropertybag.cxx index 84e1e7527ff7..243c3920c7cd 100644 --- a/comphelper/source/property/opropertybag.cxx +++ b/comphelper/source/property/opropertybag.cxx @@ -32,7 +32,6 @@ #include <osl/thread.h> #include <algorithm> -#include <functional> #include <iterator> @@ -350,7 +349,7 @@ namespace comphelper namespace { - struct ComparePropertyValueByName : public std::binary_function< PropertyValue, PropertyValue, bool > + struct ComparePropertyValueByName { bool operator()( const PropertyValue& _rLHS, const PropertyValue& _rRHS ) { diff --git a/comphelper/source/property/propertycontainerhelper.cxx b/comphelper/source/property/propertycontainerhelper.cxx index a32b8d8def87..c1729c5576b9 100644 --- a/comphelper/source/property/propertycontainerhelper.cxx +++ b/comphelper/source/property/propertycontainerhelper.cxx @@ -41,7 +41,7 @@ using namespace ::com::sun::star::beans; namespace { // comparing two property descriptions - struct PropertyDescriptionHandleCompare : public std::binary_function< PropertyDescription, PropertyDescription, bool > + struct PropertyDescriptionHandleCompare { bool operator() (const PropertyDescription& x, const PropertyDescription& y) const { |