summaryrefslogtreecommitdiff
path: root/sc/inc/address.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-22 14:32:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-23 04:46:35 +0000
commit46d3163f779a43cc7c023a6e8141f990e5d23292 (patch)
tree99c87b90b69f3c59edb91206b364a4e5c9b1c640 /sc/inc/address.hxx
parentc2a20af2c12bf75e7378a3a9dbc50a4dddabdebc (diff)
loplugin:unusedmethods
Change-Id: Ife4c8d948ffa116f044d43903de9485e43cfcae5 Reviewed-on: https://gerrit.libreoffice.org/32336 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/address.hxx')
-rw-r--r--sc/inc/address.hxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index a1a75f2a9a3a..efba2fcad8d4 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -623,7 +623,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 lessThanByRow( const ScRange& rRange ) const;
/// Hash 2D area ignoring table number.
inline size_t hashArea() const;
@@ -671,12 +670,6 @@ inline bool ScRange::operator<=( const ScRange& rRange ) const
return operator<( rRange ) || operator==( rRange );
}
-/// Sort on upper left corner tab,row,col, if equal then use lower right too.
-inline bool ScRange::lessThanByRow( const ScRange& r ) const
-{
- return aStart.lessThanByRow( r.aStart) || (aStart == r.aStart && aEnd.lessThanByRow( r.aEnd)) ;
-}
-
inline bool ScRange::In( const ScAddress& rAddress ) const
{
return