diff options
author | Elton Chung <elton@layerjet.com> | 2012-02-19 14:58:41 +0800 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-02-19 14:11:26 +0400 |
commit | cae6ca15d6327a7ff0471c7b15dbefcdc86b0e8c (patch) | |
tree | 9ec500783330d55304e176efc660b1998e3cf0ce /svl/source | |
parent | cdf0c78990a149a5deab8f9e68512a8646ca1855 (diff) |
Remove unused code
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/notify/listeneriter.cxx | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/svl/source/notify/listeneriter.cxx b/svl/source/notify/listeneriter.cxx index 846189d4b854..edce9e911eb0 100644 --- a/svl/source/notify/listeneriter.cxx +++ b/svl/source/notify/listeneriter.cxx @@ -96,18 +96,6 @@ SvtListener* SvtListenerIter::GoNext() return pAkt ? pAkt->GetListener() : 0; } - -SvtListener* SvtListenerIter::GoPrev() -{ - if( pDelNext == pAkt ) - pAkt = pAkt->GetLeft(); - else - pAkt = pDelNext->GetLeft(); - pDelNext = pAkt; - return pAkt ? pAkt->GetListener() : 0; -} - - SvtListener* SvtListenerIter::GoStart() // zum Anfang des Baums { pAkt = rRoot.pRoot; @@ -118,68 +106,6 @@ SvtListener* SvtListenerIter::GoStart() // zum Anfang des Baums return pAkt ? pAkt->GetListener() : 0; } - -SvtListener* SvtListenerIter::GoEnd() // zum End des Baums -{ - pAkt = pDelNext; - if( !pAkt ) - pAkt = rRoot.pRoot; - if( pAkt ) - while( pAkt->GetRight() ) - pAkt = pAkt->GetRight(); - pDelNext = pAkt; - return pAkt ? pAkt->GetListener() : 0; -} - - - -SvtListener* SvtListenerIter::First( TypeId nType ) -{ - aSrchId = nType; - GoStart(); - if( pAkt ) - do { - if( pAkt->GetListener()->IsA( aSrchId ) ) - break; - - if( pDelNext == pAkt ) - { - pAkt = pAkt->GetRight(); - pDelNext = pAkt; - } - else - pAkt = pDelNext; - - } while( pAkt ); - return pAkt ? pAkt->GetListener() : 0; -} - - -SvtListener* SvtListenerIter::Next() -{ - do { - // erstmal zum naechsten - if( pDelNext == pAkt ) - { - pAkt = pAkt->GetRight(); - pDelNext = pAkt; - } - else - pAkt = pDelNext; - - if( pAkt && pAkt->GetListener()->IsA( aSrchId ) ) - break; - } while( pAkt ); - return pAkt ? pAkt->GetListener() : 0; -} - - -SvtListener* SvtListenerIter::GoRoot() // wieder ab Root anfangen -{ - pDelNext = pAkt = rRoot.pRoot; - return pAkt ? pAkt->GetListener() : 0; -} - SvtListener* SvtListenerIter::GetCurr() const // returns the current { return pDelNext ? pDelNext->GetListener() : 0; |