diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-22 09:20:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-22 10:17:00 +0100 |
commit | 490a746553ca7b45f9a65d8241a7b58f014b4be6 (patch) | |
tree | 61a9c1707e3a3b8d18e74d6db4fdd39eaf377cfa | |
parent | e605861101743f5b8c1cb3ef2bc2da3b47ce965a (diff) |
callcatcher: remove unused methods
-rw-r--r-- | automation/inc/automation/simplecm.hxx | 1 | ||||
-rw-r--r-- | automation/source/simplecm/simplecm.cxx | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/automation/inc/automation/simplecm.hxx b/automation/inc/automation/simplecm.hxx index 69c75cbf2..5e4d19aae 100644 --- a/automation/inc/automation/simplecm.hxx +++ b/automation/inc/automation/simplecm.hxx @@ -321,7 +321,6 @@ protected: SvStream *pReceiveStream; sal_Bool DoReceiveDataStream(); /// Recieve DataPacket from Socket virtual sal_Bool SendHandshake( HandshakeType aHandshakeType, SvStream* pData = NULL); - bool IsReceiveReady(); sal_Bool bIsRequestShutdownPending; virtual void WaitForShutdown()=0; void SetNewPacketAsCurrent(); diff --git a/automation/source/simplecm/simplecm.cxx b/automation/source/simplecm/simplecm.cxx index 132296890..e90be4a79 100644 --- a/automation/source/simplecm/simplecm.cxx +++ b/automation/source/simplecm/simplecm.cxx @@ -343,17 +343,6 @@ sal_Bool SimpleCommunicationLinkViaSocket::SendHandshake( HandshakeType aHandsha return !bWasError; } -bool SimpleCommunicationLinkViaSocket::IsReceiveReady() -{ - if ( !IsCommunicationError() ) - { - TimeValue aTime = {30, 0}; // 30 seconds - return pStreamSocket->isRecvReady( &aTime ); - } - - return false; -} - CommunicationManager::CommunicationManager( sal_Bool bUseMultiChannel ) : nInfoType( CM_NONE ) , bIsCommunicationRunning( sal_False ) |