diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-15 10:28:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-19 08:50:30 +0200 |
commit | ae5d78d605bcb2a849f88cdfddfaf5cf1d5ebf64 (patch) | |
tree | 805c70a6595d9031e9bd5a08dd740439345f6a7b /include/oox/helper | |
parent | 4cbba98601ae16cda1739e1e81d697592bb31213 (diff) |
remove operator>> and operator<< methods
in favour of ReadXXX/WriteXXX methods
Change-Id: I75fcb04cb9e2981a10146a96de27916ca7f6bc57
Diffstat (limited to 'include/oox/helper')
-rw-r--r-- | include/oox/helper/binaryinputstream.hxx | 8 | ||||
-rw-r--r-- | include/oox/helper/binaryoutputstream.hxx | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/include/oox/helper/binaryinputstream.hxx b/include/oox/helper/binaryinputstream.hxx index 569f48d77642..0c876ecadbef 100644 --- a/include/oox/helper/binaryinputstream.hxx +++ b/include/oox/helper/binaryinputstream.hxx @@ -349,10 +349,6 @@ public: non-seekable streams too. */ virtual void skip( sal_Int32 nBytes, size_t nAtomSize = 1 ) SAL_OVERRIDE; - /** Stream operator for all data types supported by the readValue() function. */ - template< typename Type > - SequenceInputStream& operator>>( Type& ornValue ) { ornValue = readValue<Type>(); return *this; } - private: /** Returns the number of bytes available in the sequence for the passed byte count. */ sal_Int32 getMaxBytes( sal_Int32 nBytes ) const @@ -414,10 +410,6 @@ public: non-seekable streams too. Does not seek out of the data block. */ virtual void skip( sal_Int32 nBytes, size_t nAtomSize = 1 ) SAL_OVERRIDE; - /** Stream operator for all data types supported by the readValue() function. */ - template< typename Type > - RelativeInputStream& operator>>( Type& ornValue ) { readValue( ornValue ); return *this; } - private: /** Returns the number of bytes available in the sequence for the passed byte count. */ sal_Int32 getMaxBytes( sal_Int32 nBytes ) const diff --git a/include/oox/helper/binaryoutputstream.hxx b/include/oox/helper/binaryoutputstream.hxx index e1c21ff79a13..a1b562133c61 100644 --- a/include/oox/helper/binaryoutputstream.hxx +++ b/include/oox/helper/binaryoutputstream.hxx @@ -191,10 +191,6 @@ public: /** Write nBytes bytes from the (preallocated!) buffer pMem. */ virtual void writeMemory( const void* pMem, sal_Int32 nBytes, size_t nAtomSize = 1 ) SAL_OVERRIDE; - - /** Stream operator for all data types supported by the writeValue() function. */ - template< typename Type > - SequenceOutputStream& operator<<( Type nValue ) { writeValue( nValue ); return *this; } }; |