summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorAlexander Bergmann <myaddons@gmx.de>2012-02-13 13:17:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-13 13:17:19 +0000
commit8f1270db7d871df1a6155c1e4f51568753a54b04 (patch)
tree78374e63f2580e2dd3c80881194bcf3c5a92bb04 /tools/source
parent507a5d0eb718bcd6c294029775008e0f99d70e0f (diff)
unusedcode.easy: Removed unused code
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/memtools/multisel.cxx45
1 files changed, 0 insertions, 45 deletions
diff --git a/tools/source/memtools/multisel.cxx b/tools/source/memtools/multisel.cxx
index 3853fe493dbf..fd61bcbb227f 100644
--- a/tools/source/memtools/multisel.cxx
+++ b/tools/source/memtools/multisel.cxx
@@ -521,21 +521,6 @@ void MultiSelection::Remove( long nIndex )
// -----------------------------------------------------------------------
-void MultiSelection::Append( long nCount )
-{
- long nPrevLast = aTotRange.Max();
- aTotRange.Max() += nCount;
- if ( bSelectNew )
- {
- nSelCount += nCount;
- aSels.push_back( new Range( nPrevLast+1, nPrevLast + nCount ) );
- if ( aSels.size() > 1 )
- ImplMergeSubSelections( aSels.size() - 2, aSels.size() );
- }
-}
-
-// -----------------------------------------------------------------------
-
long MultiSelection::ImplFwdUnselected()
{
if ( !bCurValid )
@@ -637,36 +622,6 @@ long MultiSelection::NextSelected()
// -----------------------------------------------------------------------
-long MultiSelection::PrevSelected()
-{
- if ( !bCurValid )
- return SFX_ENDOFSELECTION;
-
- if ( bInverseCur )
- {
- --nCurIndex;
- return ImplBwdUnselected();
- }
- else
- {
- // is the previous index in the current sub selection too?
- if ( nCurIndex > aSels[ nCurSubSel ]->Min() )
- return --nCurIndex;
-
- // are there previous sub selections?
- if ( nCurSubSel > 0 )
- {
- --nCurSubSel;
- return nCurIndex = aSels[ nCurSubSel ]->Max();
- }
-
- // we are at the beginning!
- return SFX_ENDOFSELECTION;
- }
-}
-
-// -----------------------------------------------------------------------
-
void MultiSelection::SetTotalRange( const Range& rTotRange )
{
aTotRange = rTotRange;