summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelist.cxx2
-rw-r--r--svtools/source/misc/templatefoldercache.cxx9
2 files changed, 1 insertions, 10 deletions
diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx
index 43eaf9aadba1..6315237e7a9b 100644
--- a/svtools/source/contnr/treelist.cxx
+++ b/svtools/source/contnr/treelist.cxx
@@ -1524,7 +1524,7 @@ void SvTreeList::Resort()
namespace {
-class SortComparator : public std::binary_function<SvTreeListEntry,SvTreeListEntry,bool>
+class SortComparator
{
SvTreeList& mrList;
public:
diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx
index 140a63c0850d..f83e11dcdf0a 100644
--- a/svtools/source/misc/templatefoldercache.cxx
+++ b/svtools/source/misc/templatefoldercache.cxx
@@ -41,7 +41,6 @@
#include <vector>
#include <list>
-#include <functional>
#include <algorithm>
@@ -159,10 +158,6 @@ namespace svt
/// compares two TemplateContent by URL
struct TemplateContentURLLess
- :public ::std::binary_function < ::rtl::Reference< TemplateContent >
- , ::rtl::Reference< TemplateContent >
- , bool
- >
{
bool operator() ( const ::rtl::Reference< TemplateContent >& _rxLHS, const ::rtl::Reference< TemplateContent >& _rxRHS ) const
{
@@ -203,10 +198,6 @@ namespace svt
/** does a deep compare of two template contents
*/
struct TemplateContentEqual
- :public ::std::binary_function < ::rtl::Reference< TemplateContent >
- , ::rtl::Reference< TemplateContent >
- , bool
- >
{
bool operator() (const ::rtl::Reference< TemplateContent >& _rLHS, const ::rtl::Reference< TemplateContent >& _rRHS )