diff options
author | Sascha Ballach <sab@openoffice.org> | 2000-11-14 17:15:26 +0000 |
---|---|---|
committer | Sascha Ballach <sab@openoffice.org> | 2000-11-14 17:15:26 +0000 |
commit | 126e9c969544e814f806a3b048c361fcf0ac9cbe (patch) | |
tree | 8afe433efb69bde5e2b9fd8652347c11b311d9d5 | |
parent | 020f8aa9e4e758def3cf9c8f2b5cbfc220c6cf83 (diff) |
remove static operator
-rw-r--r-- | sc/source/filter/xml/XMLDetectiveContext.cxx | 9 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLDetectiveContext.hxx | 8 |
2 files changed, 6 insertions, 11 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 ) diff --git a/sc/source/filter/xml/XMLDetectiveContext.hxx b/sc/source/filter/xml/XMLDetectiveContext.hxx index 82ab4e2bd1c8..37c17d31f358 100644 --- a/sc/source/filter/xml/XMLDetectiveContext.hxx +++ b/sc/source/filter/xml/XMLDetectiveContext.hxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLDetectiveContext.hxx,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 @@ -103,10 +103,6 @@ struct ScMyImpDetectiveOp sal_Int32 nIndex; inline ScMyImpDetectiveOp() : nIndex( -1 ) {} - - static sal_Bool operator<( - const ScMyImpDetectiveOp& rDetOp1, - const ScMyImpDetectiveOp& rDetOp2 ); }; typedef ::std::vector< ScMyImpDetectiveOp > ScMyImpDetectiveOpVec; |