summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/autostyl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/autostyl.cxx')
-rw-r--r--sc/source/ui/docshell/autostyl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/autostyl.cxx b/sc/source/ui/docshell/autostyl.cxx
index 30a1fb16c93d..d3fb83763b1a 100644
--- a/sc/source/ui/docshell/autostyl.cxx
+++ b/sc/source/ui/docshell/autostyl.cxx
@@ -31,7 +31,7 @@ static inline sal_uLong TimeNow() // seconds
namespace {
-class FindByRange : public ::std::unary_function<ScAutoStyleData, bool>
+class FindByRange
{
ScRange maRange;
public:
@@ -39,7 +39,7 @@ public:
bool operator() (const ScAutoStyleData& rData) const { return rData.aRange == maRange; }
};
-class FindByTimeout : public ::std::unary_function<ScAutoStyleData, bool>
+class FindByTimeout
{
sal_uLong mnTimeout;
public:
@@ -47,7 +47,7 @@ public:
bool operator() (const ScAutoStyleData& rData) const { return rData.nTimeout >= mnTimeout; }
};
-struct FindNonZeroTimeout : public ::std::unary_function<ScAutoStyleData, bool>
+struct FindNonZeroTimeout
{
bool operator() (const ScAutoStyleData& rData) const
{