diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/forms/ifacecompare.hxx | 4 | ||||
-rw-r--r-- | xmloff/source/forms/layerexport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/xmlimppr.cxx | 4 |
3 files changed, 2 insertions, 8 deletions
diff --git a/xmloff/source/forms/ifacecompare.hxx b/xmloff/source/forms/ifacecompare.hxx index 9eab7abfb655..79b4bae04b2e 100644 --- a/xmloff/source/forms/ifacecompare.hxx +++ b/xmloff/source/forms/ifacecompare.hxx @@ -32,10 +32,6 @@ namespace xmloff */ template < class IAFCE > struct OInterfaceCompare - :public ::std::binary_function < css::uno::Reference< IAFCE > - , css::uno::Reference< IAFCE > - , bool - > { bool operator() (const css::uno::Reference< IAFCE >& lhs, const css::uno::Reference< IAFCE >& rhs) const { diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx index bd08dcb6d77d..aea4f1206521 100644 --- a/xmloff/source/forms/layerexport.cxx +++ b/xmloff/source/forms/layerexport.cxx @@ -458,7 +458,7 @@ namespace xmloff namespace { - struct AccumulateSize : public ::std::binary_function< size_t, MapPropertySet2Map::value_type, size_t > + struct AccumulateSize { size_t operator()( size_t _size, const MapPropertySet2Map::value_type& _map ) const { diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx index 8bd2c30354a2..ca87054c25ac 100644 --- a/xmloff/source/style/xmlimppr.cxx +++ b/xmloff/source/style/xmlimppr.cxx @@ -40,7 +40,6 @@ #include <xmloff/maptype.hxx> #include <algorithm> -#include <functional> #include <utility> #include <vector> @@ -546,8 +545,7 @@ bool SvXMLImportPropertyMapper::FillPropertySet_( typedef pair<const OUString*, const Any* > PropertyPair; typedef vector<PropertyPair> PropertyPairs; -struct PropertyPairLessFunctor : - public std::binary_function<PropertyPair, PropertyPair, bool> +struct PropertyPairLessFunctor { bool operator()( const PropertyPair& a, const PropertyPair& b ) const { |