summaryrefslogtreecommitdiffstats
path: root/automation
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-19 11:28:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-19 21:11:02 +0000
commit4e7fff380a0b7cec8cc4bf5b4e43a6e91c97db6a (patch)
tree771ac4783afd8066d4232e8886fb603d6367186f /automation
parentimplEnsureURLExtension just returns the first argument, remove it (diff)
downloadcore-4e7fff380a0b7cec8cc4bf5b4e43a6e91c97db6a.tar.gz
core-4e7fff380a0b7cec8cc4bf5b4e43a6e91c97db6a.zip
remove ENABLE_BYTESTRING_STREAM_OPERATORS
Diffstat (limited to 'automation')
-rw-r--r--automation/source/simplecm/simplecm.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/automation/source/simplecm/simplecm.cxx b/automation/source/simplecm/simplecm.cxx
index 2cc5b93e26f0..b5087f244307 100644
--- a/automation/source/simplecm/simplecm.cxx
+++ b/automation/source/simplecm/simplecm.cxx
@@ -29,8 +29,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_automation.hxx"
-
-#define ENABLE_BYTESTRING_STREAM_OPERATORS
#include <tools/solar.h>
#include <automation/simplecm.hxx>
#include <osl/diagnose.h>
@@ -286,7 +284,7 @@ void SimpleCommunicationLinkViaSocket::SetApplication( const ByteString& aApp )
{
CommunicationLink::SetApplication( aApp );
SvStream* pData = GetBestCommunicationStream();
- *pData << aApp;
+ pData->WriteByteString(aApp);
SendHandshake( CH_SetApplication, pData );
delete pData;
}
@@ -458,7 +456,7 @@ void CommunicationManager::CallDataReceived( CommunicationLink* pCL )
case CH_SetApplication:
{
ByteString aApplication;
- *pData >> aApplication;
+ pData->ReadByteString(aApplication);
pCL->CommunicationLink::SetApplication( aApplication );
#if OSL_DEBUG_LEVEL > 1
debug_printf( "Setting Application to " );