summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLDetectiveContext.cxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2000-11-14 17:15:26 +0000
committerSascha Ballach <sab@openoffice.org>2000-11-14 17:15:26 +0000
commit126e9c969544e814f806a3b048c361fcf0ac9cbe (patch)
tree8afe433efb69bde5e2b9fd8652347c11b311d9d5 /sc/source/filter/xml/XMLDetectiveContext.cxx
parent020f8aa9e4e758def3cf9c8f2b5cbfc220c6cf83 (diff)
remove static operator
Diffstat (limited to 'sc/source/filter/xml/XMLDetectiveContext.cxx')
-rw-r--r--sc/source/filter/xml/XMLDetectiveContext.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sc/source/filter/xml/XMLDetectiveContext.cxx b/sc/source/filter/xml/XMLDetectiveContext.cxx
index 87d8e4fb3328..abe18e556f34 100644
--- a/sc/source/filter/xml/XMLDetectiveContext.cxx
+++ b/sc/source/filter/xml/XMLDetectiveContext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLDetectiveContext.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dr $ $Date: 2000-11-10 18:35:16 $
+ * last change: $Author: sab $ $Date: 2000-11-14 18:15:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -107,15 +107,14 @@ ScMyImpDetectiveObj::ScMyImpDetectiveObj() :
//___________________________________________________________________
-sal_Bool ScMyImpDetectiveOp::operator<( const ScMyImpDetectiveOp& rDetOp1,
- const ScMyImpDetectiveOp& rDetOp2 )
+sal_Bool LessDetectiveOp(const ScMyImpDetectiveOp& rDetOp1, const ScMyImpDetectiveOp& rDetOp2)
{
return (rDetOp1.nIndex < rDetOp2.nIndex);
}
void ScMyImpDetectiveOpArray::Sort()
{
- ::std::sort( aDetectiveOpVec.begin(), aDetectiveOpVec.end(), ScMyImpDetectiveOp::operator< );
+ ::std::sort( aDetectiveOpVec.begin(), aDetectiveOpVec.end(), LessDetectiveOp );
}
sal_Bool ScMyImpDetectiveOpArray::GetFirstOp( ScMyImpDetectiveOp& rDetOp )