diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-05 10:41:04 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-02-12 15:31:40 +0000 |
commit | 15535e32ddcfee451d4dbc9be9de0b8c9f9d78d4 (patch) | |
tree | db4badc477cea1ecd51f5fab82ce0f24ae20f155 /lotuswordpro/source/filter/LotusWordProImportFilter.cxx | |
parent | drawingML import: wrong namespace for 'pic' (diff) | |
download | core-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/LotusWordProImportFilter.cxx')
-rw-r--r-- | lotuswordpro/source/filter/LotusWordProImportFilter.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx index f5b33585f456..72697f9dabdd 100644 --- a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx +++ b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx @@ -144,18 +144,18 @@ private: while( !m_InputStream.IsEof()) { - m_InputStream >> nDelim; + m_InputStream.ReadUChar( nDelim ); if( nDelim == 0x40 ) { - m_InputStream >> nDummy >> nOpcode; + m_InputStream.ReadUChar( nDummy ).ReadUInt16( nOpcode ); switch( nOpcode ) { case 0xC00B: // Dictionary Word - m_InputStream >> nLen >> nDummy; + m_InputStream.ReadUChar( nLen ).ReadUChar( nDummy ); while( nLen > 0 && !m_InputStream.IsEof() ) { sal_uInt8 nChar; - m_InputStream >> nChar; + m_InputStream.ReadUChar( nChar ); if( CheckValidData( nChar ) ) { sBuf.appendAscii( (sal_Char*)(&nChar),1 ); @@ -170,13 +170,13 @@ private: break; case 0x0242: // Non Dictionary word - m_InputStream >> nData; + m_InputStream.ReadUChar( nData ); if( nData == 0x02 ) { - m_InputStream >> nLen >> nDummy; + m_InputStream.ReadUChar( nLen ).ReadUChar( nDummy ); while( nLen > 0 && !m_InputStream.IsEof() ) { - m_InputStream >> nData; + m_InputStream.ReadUChar( nData ); if( CheckValidData( nData ) ) { sBuf.appendAscii( (sal_Char*)(&nData),1 ); |