diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-08 14:27:26 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-08 13:09:06 +0000 |
commit | d282dec83e5d4aba749baba857e0f9b4573bc414 (patch) | |
tree | 8f970fca30168ff1c4afbec583c52e5c4ee6316d /sc/inc | |
parent | 8045c3931878c75da8e5229899ccbc895ccbed8a (diff) |
revert part of "loplugin:unusedmethods"
<sberg> noelgrandin, just happen to look at b14224fe again; looks a bit scary to remove == or != from cases where both where declared
<noelgrandin> sberg, ok, I can revert that part
<sberg> noelgrandin, I guess that would be safer (there could be cases where now a different overload could kick in)
Change-Id: I5dc41c05dc4439d5adee0e5b3e0a9e1dfb9de3af
Reviewed-on: https://gerrit.libreoffice.org/22211
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/bigrange.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/bigrange.hxx b/sc/inc/bigrange.hxx index 9dfbe2e073df..c677df19aa4a 100644 --- a/sc/inc/bigrange.hxx +++ b/sc/inc/bigrange.hxx @@ -69,6 +69,8 @@ public: { nCol = r.Col(); nRow = r.Row(); nTab = r.Tab(); return *this; } bool operator==( const ScBigAddress& r ) const { return nCol == r.nCol && nRow == r.nRow && nTab == r.nTab; } + bool operator!=( const ScBigAddress& r ) const + { return !operator==( r ); } }; inline void ScBigAddress::PutInOrder( ScBigAddress& r ) |