summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/explode.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-06-03 14:45:59 +0200
committerMichael Stahl <mstahl@redhat.com>2016-06-06 18:09:11 +0000
commit62d270116bf34778bf581f21b27fa9cdbff7de0e (patch)
tree0402df0506ab8f6825ef497f27426f01d2e01850 /lotuswordpro/source/filter/explode.cxx
parentd0bc637426060593046c8d3a4d01d0b05b052cc5 (diff)
tools: rename SvStream::Read/Write to ReadBytes/WriteBytes
Change-Id: Ib788a30d413436aa03f813aa2fddcbc4d6cd2f9a Reviewed-on: https://gerrit.libreoffice.org/25972 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'lotuswordpro/source/filter/explode.cxx')
-rw-r--r--lotuswordpro/source/filter/explode.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/lotuswordpro/source/filter/explode.cxx b/lotuswordpro/source/filter/explode.cxx
index 356cc543fd51..87f40494c006 100644
--- a/lotuswordpro/source/filter/explode.cxx
+++ b/lotuswordpro/source/filter/explode.cxx
@@ -183,7 +183,7 @@ sal_uInt32 Decompression::ReadBits(sal_uInt16 iCount, sal_uInt32 & nBits)
{
if (m_nBytesLeft == 0)
{
- m_nBytesLeft = m_pInStream->Read(m_Buffer, CHUNK);
+ m_nBytesLeft = m_pInStream->ReadBytes(m_Buffer, CHUNK);
m_pBuffer = m_Buffer;
if (m_nBytesLeft == 0) return 1;
}
@@ -242,7 +242,7 @@ sal_Int32 Decompression::explode()
m_Output[m_nOutputBufferPos++] = (sal_uInt8)symbol;
if (m_nOutputBufferPos == MAXWIN)
{
- m_pOutStream->Write(m_Output, m_nOutputBufferPos);
+ m_pOutStream->WriteBytes(m_Output, m_nOutputBufferPos);
m_nOutputBufferPos = 0;
}
continue;
@@ -299,7 +299,7 @@ sal_Int32 Decompression::explode()
// - now copy LENGTH bytes from (output_ptr-DISTANCE) to output_ptr
// write current buffer to output
- m_pOutStream->Write(m_Output, m_nOutputBufferPos);
+ m_pOutStream->WriteBytes(m_Output, m_nOutputBufferPos);
m_nOutputBufferPos = 0;
// remember current position
@@ -312,7 +312,7 @@ sal_Int32 Decompression::explode()
m_pOutStream->SeekRel(-(long)distance);
sal_uInt8 sTemp[MAXWIN];
sal_uInt32 nRead = distance > Length? Length:distance;
- m_pOutStream->Read(sTemp, nRead);
+ m_pOutStream->ReadBytes(sTemp, nRead);
if (nRead != Length)
{
// fill the buffer with read content repeatly until full
@@ -326,7 +326,7 @@ sal_Int32 Decompression::explode()
m_pOutStream->Seek(nOutputPos);
// write current buffer to output
- m_pOutStream->Write(sTemp, Length);
+ m_pOutStream->WriteBytes(sTemp, Length);
}
return 0;
}