[Libreoffice-commits] .: automation/inc automation/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Jul 22 02:19:41 PDT 2011


 automation/inc/automation/simplecm.hxx  |    1 -
 automation/source/simplecm/simplecm.cxx |   11 -----------
 2 files changed, 12 deletions(-)

New commits:
commit 490a746553ca7b45f9a65d8241a7b58f014b4be6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jul 22 09:20:22 2011 +0100

    callcatcher: remove unused methods

diff --git a/automation/inc/automation/simplecm.hxx b/automation/inc/automation/simplecm.hxx
index 69c75cb..5e4d19a 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 1322968..e90be4a 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 )


More information about the Libreoffice-commits mailing list