diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/stream.hxx | 6 | ||||
-rw-r--r-- | tools/source/stream/stream.cxx | 1 |
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> |