diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-29 21:17:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-30 13:18:36 +0000 |
commit | 7ff0a5b0e47923e7f010db5b6998c0df4b73894e (patch) | |
tree | bc3bd022429fe43683c0120ce65bcdc9273e51ae /basic | |
parent | e216078272373b2d7a96929437b5e5986b4ec185 (diff) |
callcatcher: remove unused NextChannel
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/inc/iosys.hxx | 1 | ||||
-rw-r--r-- | basic/source/runtime/iosys.cxx | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/basic/source/inc/iosys.hxx b/basic/source/inc/iosys.hxx index 7134e7b6855f..6d79bf9ec77e 100644 --- a/basic/source/inc/iosys.hxx +++ b/basic/source/inc/iosys.hxx @@ -103,7 +103,6 @@ public: void Read(rtl::OString&, short = 0); char Read(); void Write(const rtl::OString&, short = 0); - short NextChannel(); // 0 == bad channel or no SvStream (nChannel=0..CHANNELS-1) SbiStream* GetStream( short nChannel ) const; void CloseAll(); // JSM diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index 63ae9feb65fd..07a696db8d5f 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -876,17 +876,6 @@ void SbiIoSystem::Write(const rtl::OString& rBuf, short n) nError = pChan[ nChan ]->Write( rBuf, n ); } -short SbiIoSystem::NextChannel() -{ - for( short i = 1; i < CHANNELS; i++ ) - { - if( !pChan[ i ] ) - return i; - } - nError = SbERR_TOO_MANY_FILES; - return CHANNELS; -} - // nChannel == 0..CHANNELS-1 SbiStream* SbiIoSystem::GetStream( short nChannel ) const |