summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpsvstream.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-23 17:00:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-23 17:00:28 +0100
commit4b15c7678e0ee4095e82f5336784e8cb7c32c165 (patch)
treec8f898216e918cf3513a0c718b6a6ebbda41fcd1 /lotuswordpro/source/filter/lwpsvstream.cxx
parentb31d06f2ffd2a578cc887966ec79ac4fe1487877 (diff)
fix endianness sufficiently to pass unit tests
Diffstat (limited to 'lotuswordpro/source/filter/lwpsvstream.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpsvstream.cxx37
1 files changed, 37 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwpsvstream.cxx b/lotuswordpro/source/filter/lwpsvstream.cxx
index 54053d3db185..e59179c6e944 100644
--- a/lotuswordpro/source/filter/lwpsvstream.cxx
+++ b/lotuswordpro/source/filter/lwpsvstream.cxx
@@ -70,6 +70,43 @@ sal_Int32 LwpSvStream::Read(void* buf, sal_Int32 nBytesToRead)
{
return m_pStream->Read(buf,nBytesToRead);
}
+
+LwpSvStream& LwpSvStream::operator>>( sal_uInt8& rUInt8 )
+{
+ *m_pStream >> rUInt8;
+ return *this;
+}
+
+LwpSvStream& LwpSvStream::operator>>( sal_uInt16& rUInt16 )
+{
+ *m_pStream >> rUInt16;
+ return *this;
+}
+
+LwpSvStream& LwpSvStream::operator>>( sal_uInt32& rUInt32 )
+{
+ *m_pStream >> rUInt32;
+ return *this;
+}
+
+LwpSvStream& LwpSvStream::operator>>( sal_Int8& rInt8 )
+{
+ *m_pStream >> rInt8;
+ return *this;
+}
+
+LwpSvStream& LwpSvStream::operator>>( sal_Int16& rInt16 )
+{
+ *m_pStream >> rInt16;
+ return *this;
+}
+
+LwpSvStream& LwpSvStream::operator>>( sal_Int32& rInt32 )
+{
+ *m_pStream >> rInt32;
+ return *this;
+}
+
/**
* @descr SeekRel in stream
*/