diff options
Diffstat (limited to 'extensions/source/propctrlr')
4 files changed, 3 insertions, 16 deletions
diff --git a/extensions/source/propctrlr/composeduiupdate.cxx b/extensions/source/propctrlr/composeduiupdate.cxx index e39932925d81..c6a1c32a7ea7 100644 --- a/extensions/source/propctrlr/composeduiupdate.cxx +++ b/extensions/source/propctrlr/composeduiupdate.cxx @@ -47,10 +47,7 @@ namespace pcr namespace { - struct HandlerLess : public std::binary_function < Reference< XPropertyHandler > - , Reference< XPropertyHandler > - , bool - > + struct HandlerLess { bool operator()( const Reference< XPropertyHandler >& lhs, const Reference< XPropertyHandler >& rhs) const { diff --git a/extensions/source/propctrlr/formbrowsertools.hxx b/extensions/source/propctrlr/formbrowsertools.hxx index 6abc42d7a477..7fede482d47f 100644 --- a/extensions/source/propctrlr/formbrowsertools.hxx +++ b/extensions/source/propctrlr/formbrowsertools.hxx @@ -24,7 +24,6 @@ #include <com/sun/star/beans/Property.hpp> #include <rtl/ustring.hxx> -#include <functional> #include <set> @@ -65,10 +64,6 @@ namespace pcr struct PropertyLessByName - :public std::binary_function < css::beans::Property, - css::beans::Property, - bool - > { bool operator() (const css::beans::Property& _rLhs, const css::beans::Property& _rRhs) const { @@ -78,10 +73,6 @@ namespace pcr struct TypeLessByName - :public std::binary_function < css::uno::Type, - css::uno::Type, - bool - > { bool operator() (const css::uno::Type& _rLhs, const css::uno::Type& _rRhs) const { diff --git a/extensions/source/propctrlr/formmetadata.cxx b/extensions/source/propctrlr/formmetadata.cxx index 2b29a7bba297..7aea41c8c6e5 100644 --- a/extensions/source/propctrlr/formmetadata.cxx +++ b/extensions/source/propctrlr/formmetadata.cxx @@ -25,7 +25,6 @@ #include <comphelper/extract.hxx> #include <sal/macros.h> #include <algorithm> -#include <functional> namespace pcr { @@ -66,7 +65,7 @@ namespace pcr // Compare PropertyInfo - struct PropertyInfoLessByName : public std::binary_function< OPropertyInfoImpl, OPropertyInfoImpl, bool > + struct PropertyInfoLessByName { bool operator()( const OPropertyInfoImpl& _rLHS, const OPropertyInfoImpl& _rRHS ) { diff --git a/extensions/source/propctrlr/genericpropertyhandler.hxx b/extensions/source/propctrlr/genericpropertyhandler.hxx index 1ba3b328957d..6cca09093ca4 100644 --- a/extensions/source/propctrlr/genericpropertyhandler.hxx +++ b/extensions/source/propctrlr/genericpropertyhandler.hxx @@ -38,7 +38,7 @@ namespace pcr { - struct TypeLess : std::binary_function< css::uno::Type, css::uno::Type, bool > + struct TypeLess { bool operator()( const css::uno::Type& _rLHS, const css::uno::Type& _rRHS ) const { |