diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-19 11:28:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-19 21:11:02 +0000 |
commit | 4e7fff380a0b7cec8cc4bf5b4e43a6e91c97db6a (patch) | |
tree | 771ac4783afd8066d4232e8886fb603d6367186f /automation | |
parent | implEnsureURLExtension just returns the first argument, remove it (diff) | |
download | core-4e7fff380a0b7cec8cc4bf5b4e43a6e91c97db6a.tar.gz core-4e7fff380a0b7cec8cc4bf5b4e43a6e91c97db6a.zip |
remove ENABLE_BYTESTRING_STREAM_OPERATORS
Diffstat (limited to 'automation')
-rw-r--r-- | automation/source/simplecm/simplecm.cxx | 6 |
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 " ); |