summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpsvstream.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-05 10:41:04 +0200
committerMichael Stahl <mstahl@redhat.com>2014-02-12 15:31:40 +0000
commit15535e32ddcfee451d4dbc9be9de0b8c9f9d78d4 (patch)
treedb4badc477cea1ecd51f5fab82ce0f24ae20f155 /lotuswordpro/source/filter/lwpsvstream.cxx
parentdrawingML import: wrong namespace for 'pic' (diff)
downloadcore-15535e32ddcfee451d4dbc9be9de0b8c9f9d78d4.tar.gz
core-15535e32ddcfee451d4dbc9be9de0b8c9f9d78d4.zip
convert SvStream::operator>> methods to ReadXXX methods
First, I updated the clang rewriter to do the conversion. Then I lightly hand-tweaked the output for the few places where the rewriter messed up, mostly when dealing with calls on "this". Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9 Reviewed-on: https://gerrit.libreoffice.org/7879 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'lotuswordpro/source/filter/lwpsvstream.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpsvstream.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/lotuswordpro/source/filter/lwpsvstream.cxx b/lotuswordpro/source/filter/lwpsvstream.cxx
index e59179c6e944..a1bdc9927809 100644
--- a/lotuswordpro/source/filter/lwpsvstream.cxx
+++ b/lotuswordpro/source/filter/lwpsvstream.cxx
@@ -73,37 +73,37 @@ sal_Int32 LwpSvStream::Read(void* buf, sal_Int32 nBytesToRead)
LwpSvStream& LwpSvStream::operator>>( sal_uInt8& rUInt8 )
{
- *m_pStream >> rUInt8;
+ m_pStream->ReadUChar( rUInt8 );
return *this;
}
LwpSvStream& LwpSvStream::operator>>( sal_uInt16& rUInt16 )
{
- *m_pStream >> rUInt16;
+ m_pStream->ReadUInt16( rUInt16 );
return *this;
}
LwpSvStream& LwpSvStream::operator>>( sal_uInt32& rUInt32 )
{
- *m_pStream >> rUInt32;
+ m_pStream->ReadUInt32( rUInt32 );
return *this;
}
LwpSvStream& LwpSvStream::operator>>( sal_Int8& rInt8 )
{
- *m_pStream >> rInt8;
+ m_pStream->ReadSChar( rInt8 );
return *this;
}
LwpSvStream& LwpSvStream::operator>>( sal_Int16& rInt16 )
{
- *m_pStream >> rInt16;
+ m_pStream->ReadInt16( rInt16 );
return *this;
}
LwpSvStream& LwpSvStream::operator>>( sal_Int32& rInt32 )
{
- *m_pStream >> rInt32;
+ m_pStream->ReadInt32( rInt32 );
return *this;
}