summaryrefslogtreecommitdiff
path: root/tools
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 /tools
parentbb997c001982dc36ef393fbc76ace65dd12b461d (diff)
remove ENABLE_BYTESTRING_STREAM_OPERATORS
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/stream.hxx6
-rw-r--r--tools/source/stream/stream.cxx1
2 files changed, 0 insertions, 7 deletions
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx
index 28e96aea0e03..c320bc2ae892 100644
--- a/tools/inc/tools/stream.hxx
+++ b/tools/inc/tools/stream.hxx
@@ -346,9 +346,6 @@ public:
SvStream& operator>>( unsigned char& rChar );
SvStream& operator>>( float& rFloat );
SvStream& operator>>( double& rDouble );
-#ifdef ENABLE_BYTESTRING_STREAM_OPERATORS
- SvStream& operator>>( ByteString& rString ) { return ReadByteString(rString); }
-#endif
#ifdef ENABLE_STRING_STREAM_OPERATORS
SvStream& operator>>( UniString& rString ) { return ReadByteString(rString); }
#endif
@@ -367,9 +364,6 @@ public:
SvStream& operator<<( const double& rDouble );
SvStream& operator<<( const char* pBuf );
SvStream& operator<<( const unsigned char* pBuf );
-#ifdef ENABLE_BYTESTRING_STREAM_OPERATORS
- SvStream& operator<<( const ByteString& rString ) { return WriteByteString( rString ); }
-#endif
#ifdef ENABLE_STRING_STREAM_OPERATORS
SvStream& operator<<( const UniString& rString ) { return WriteByteString(rString); }
#endif
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 2b9295b436a4..fb955d16ca4e 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -52,7 +52,6 @@ c >>= 4; \
c |= nSwapTmp;
#include <tools/debug.hxx>
-#define ENABLE_BYTESTRING_STREAM_OPERATORS
#include <tools/stream.hxx>
#include <osl/thread.h>
#include <algorithm>