diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-15 12:00:55 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-01-15 12:39:46 +0000 |
commit | e15a997b153551a4c0e91964b5cff1b6269a9790 (patch) | |
tree | 93208827148e6df46ff6d24048ba92745124050d /include/tools/multisel.hxx | |
parent | 9f62954369a5d77f976f616623495ad27be6b099 (diff) |
loplugin:unusedmethods unused return value in include/tools
Change-Id: I77a6a46ca20cb41ed73050185fb2064a1bbf2009
Reviewed-on: https://gerrit.libreoffice.org/21485
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/tools/multisel.hxx')
-rw-r--r-- | include/tools/multisel.hxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx index 3b6dafc3643f..633f50714d1a 100644 --- a/include/tools/multisel.hxx +++ b/include/tools/multisel.hxx @@ -44,7 +44,7 @@ private: TOOLS_DLLPRIVATE void ImplClear(); TOOLS_DLLPRIVATE size_t ImplFindSubSelection( long nIndex ) const; - TOOLS_DLLPRIVATE bool ImplMergeSubSelections( size_t nPos1, size_t nPos2 ); + TOOLS_DLLPRIVATE void ImplMergeSubSelections( size_t nPos1, size_t nPos2 ); TOOLS_DLLPRIVATE long ImplFwdUnselected(); public: @@ -55,10 +55,6 @@ public: MultiSelection& operator= ( const MultiSelection& rOrig ); bool operator== ( MultiSelection& rOrig ); - bool operator!= ( MultiSelection& rOrig ) - { return !operator==( rOrig ); } - bool operator !() const - { return nSelCount == 0; } void SelectAll( bool bSelect = true ); bool Select( long nIndex, bool bSelect = true ); |