diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 17:55:09 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 15:00:30 +0100 |
commit | fdeb50167836803f1a79082ddd25e4ae8ac20611 (patch) | |
tree | 3e9ff2e3cba72052ce97b0b16575791d2cdbdf6f /automation/source/simplecm | |
parent | 096b61aa08ee37c6d6818791a7c5fb94d2f1ef7d (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'automation/source/simplecm')
-rw-r--r-- | automation/source/simplecm/packethandler.cxx | 4 | ||||
-rw-r--r-- | automation/source/simplecm/simplecm.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/automation/source/simplecm/packethandler.cxx b/automation/source/simplecm/packethandler.cxx index 034143d2cba6..572c79b9e1a0 100644 --- a/automation/source/simplecm/packethandler.cxx +++ b/automation/source/simplecm/packethandler.cxx @@ -143,7 +143,7 @@ comm_BOOL PacketHandler::ReceiveData( void* &pData, comm_UINT32 &nLen ) break; default: { - DBG_ERROR("Unbekannter Headertyp in der Kommunikation"); + OSL_FAIL("Unbekannter Headertyp in der Kommunikation"); bWasError = TRUE; } @@ -285,7 +285,7 @@ comm_BOOL PacketHandler::SendHandshake( HandshakeType aHandshakeType, const void nBuffer += 0 ; // one word extradata for options break; default: - DBG_ERROR("Unknown HandshakeType"); + OSL_FAIL("Unknown HandshakeType"); } if ( pData ) diff --git a/automation/source/simplecm/simplecm.cxx b/automation/source/simplecm/simplecm.cxx index 0e51768361c5..638813de9b40 100644 --- a/automation/source/simplecm/simplecm.cxx +++ b/automation/source/simplecm/simplecm.cxx @@ -336,7 +336,7 @@ BOOL SimpleCommunicationLinkViaSocket::SendHandshake( HandshakeType aHandshakeTy case CH_SetApplication: break; default: - DBG_ERROR("Unknown HandshakeType"); + OSL_FAIL("Unknown HandshakeType"); } } return !bWasError; @@ -484,7 +484,7 @@ void CommunicationManager::CallDataReceived( CommunicationLink* pCL ) // should be impossible but happens for mysterious reasons if ( !pCL->pServiceData ) { - DBG_ERROR( "Datastream is NULL" ); + OSL_FAIL( "Datastream is NULL" ); pCL->FinishCallback(); return; } |