diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-11 08:20:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-11 14:57:34 +0200 |
commit | 5d75ef73a2e77e93da1ac3cf77c7dbb170107935 (patch) | |
tree | 99072890c13d26ea2041d7600734d0fcdd75f6fe /lotuswordpro/source/filter/lwpfilehdr.cxx | |
parent | update documentation (diff) | |
download | core-5d75ef73a2e77e93da1ac3cf77c7dbb170107935.tar.gz core-5d75ef73a2e77e93da1ac3cf77c7dbb170107935.zip |
remove LwpSvStream::operator>> methods
in favour of ReadXXX methods.
Change-Id: Ifa627cf190b22315f4ce294c1ec268c4d1361748
Diffstat (limited to 'lotuswordpro/source/filter/lwpfilehdr.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpfilehdr.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lotuswordpro/source/filter/lwpfilehdr.cxx b/lotuswordpro/source/filter/lwpfilehdr.cxx index d2d87ac6064c..5bcbf6d981a4 100644 --- a/lotuswordpro/source/filter/lwpfilehdr.cxx +++ b/lotuswordpro/source/filter/lwpfilehdr.cxx @@ -70,22 +70,22 @@ LwpFileHeader::LwpFileHeader() sal_uInt32 LwpFileHeader::Read(LwpSvStream *pStrm) { sal_uInt32 len = 0; - *pStrm >> m_nAppRevision; + pStrm->ReadUInt16( m_nAppRevision ); len += sizeof(m_nAppRevision); - *pStrm >> m_nFileRevision; + pStrm->ReadUInt16( m_nFileRevision ); len += sizeof(m_nFileRevision); - *pStrm >> m_nAppReleaseNo; + pStrm->ReadUInt16( m_nAppReleaseNo ); len += sizeof(m_nAppReleaseNo); - *pStrm >> m_nRequiredAppRevision; + pStrm->ReadUInt16( m_nRequiredAppRevision ); len += sizeof(m_nRequiredAppRevision); - *pStrm >> m_nRequiredFileRevision; + pStrm->ReadUInt16( m_nRequiredFileRevision ); len += sizeof(m_nRequiredFileRevision); len += m_cDocumentID.Read(pStrm); if (m_nFileRevision < 0x000B) m_nRootIndexOffset = BAD_OFFSET; else { - *pStrm >> m_nRootIndexOffset; + pStrm->ReadUInt32( m_nRootIndexOffset ); len += sizeof(m_nRootIndexOffset); } return len; |