summaryrefslogtreecommitdiff
path: root/sc/inc/address.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/address.hxx')
-rw-r--r--sc/inc/address.hxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 9853a40157d4..78498537e4fd 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -319,8 +319,6 @@ public:
inline bool operator!=( const ScAddress& rAddress ) const;
inline bool operator<( const ScAddress& rAddress ) const;
inline bool operator<=( const ScAddress& rAddress ) const;
- inline bool operator>( const ScAddress& rAddress ) const;
- inline bool operator>=( const ScAddress& rAddress ) const;
inline size_t hash() const;
@@ -396,16 +394,6 @@ inline bool ScAddress::operator<=( const ScAddress& rAddress ) const
return operator<( rAddress ) || operator==( rAddress );
}
-inline bool ScAddress::operator>( const ScAddress& rAddress ) const
-{
- return !operator<=( rAddress );
-}
-
-inline bool ScAddress::operator>=( const ScAddress& rAddress ) const
-{
- return !operator<( rAddress );
-}
-
inline size_t ScAddress::hash() const
{
// Assume that there are not that many addresses with row > 2^16 AND column
@@ -572,8 +560,6 @@ public:
inline bool operator!=( const ScRange& rRange ) const;
inline bool operator<( const ScRange& rRange ) const;
inline bool operator<=( const ScRange& rRange ) const;
- inline bool operator>( const ScRange& rRange ) const;
- inline bool operator>=( const ScRange& rRange ) const;
/// Hash 2D area ignoring table number.
inline size_t hashArea() const;
@@ -621,16 +607,6 @@ inline bool ScRange::operator<=( const ScRange& rRange ) const
return operator<( rRange ) || operator==( rRange );
}
-inline bool ScRange::operator>( const ScRange& rRange ) const
-{
- return !operator<=( rRange );
-}
-
-inline bool ScRange::operator>=( const ScRange& rRange ) const
-{
- return !operator<( rRange );
-}
-
inline bool ScRange::In( const ScAddress& rAddress ) const
{
return
@@ -708,7 +684,6 @@ public:
{
return aRange[n];
}
- inline bool operator==( const ScRangePair& ) const;
};
inline ScRangePair& ScRangePair::operator= ( const ScRangePair& rRange )
@@ -718,12 +693,6 @@ inline ScRangePair& ScRangePair::operator= ( const ScRangePair& rRange )
return *this;
}
-inline bool ScRangePair::operator==( const ScRangePair& rRange ) const
-{
- return (aRange[0] == rRange.aRange[0]) &&
- (aRange[1] == rRange.aRange[1]);
-}
-
// ScRefAddress
class ScRefAddress
{