diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-07-24 19:22:59 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-07-24 19:22:59 +0200 |
commit | 9ba466ac25b2abb45f1de8a2785552949f007572 (patch) | |
tree | b5aab7e747c91ac026f38727f78b72bf08f57345 /automation | |
parent | a04ab6817fd70c73efa6f792d446936bc0531480 (diff) | |
parent | a814b12a68cc60a3bb7bff4336aae3665b048148 (diff) |
Merge branch 'master' into feature/gnumake4
Diffstat (limited to 'automation')
-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 f46cb22572a5..9a5211b1ad37 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 ae4a0659c2a0..39f86436a9a3 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 ) |