summaryrefslogtreecommitdiff
path: root/filter/source/graphicfilter/ipcd/ipcd.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 /filter/source/graphicfilter/ipcd/ipcd.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 'filter/source/graphicfilter/ipcd/ipcd.cxx')
-rw-r--r--filter/source/graphicfilter/ipcd/ipcd.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/filter/source/graphicfilter/ipcd/ipcd.cxx b/filter/source/graphicfilter/ipcd/ipcd.cxx
index 42861ded4cde..7ae9f324775f 100644
--- a/filter/source/graphicfilter/ipcd/ipcd.cxx
+++ b/filter/source/graphicfilter/ipcd/ipcd.cxx
@@ -174,7 +174,7 @@ void PCDReader::CheckPCDImagePacFile()
char Buf[ 8 ];
m_rPCD.Seek( 2048 );
- m_rPCD.Read( Buf, 7 );
+ m_rPCD.ReadBytes(Buf, 7);
Buf[ 7 ] = 0;
if (OString(Buf) != "PCD_IPI")
bStatus = false;
@@ -235,10 +235,10 @@ void PCDReader::ReadImage()
m_rPCD.Seek( nImagePos );
// next pair of rows := first pair of rows:
- m_rPCD.Read( pL0N, nWidth );
- m_rPCD.Read( pL1N, nWidth );
- m_rPCD.Read( pCbN, nW2 );
- m_rPCD.Read( pCrN, nW2 );
+ m_rPCD.ReadBytes( pL0N, nWidth );
+ m_rPCD.ReadBytes( pL1N, nWidth );
+ m_rPCD.ReadBytes( pCbN, nW2 );
+ m_rPCD.ReadBytes( pCrN, nW2 );
pCbN[ nW2 ] = pCbN[ nW2 - 1 ];
pCrN[ nW2 ] = pCrN[ nW2 - 1 ];
@@ -253,10 +253,10 @@ void PCDReader::ReadImage()
// get the next pair of rows:
if ( nYPair < nH2 - 1 )
{
- m_rPCD.Read( pL0N, nWidth );
- m_rPCD.Read( pL1N, nWidth );
- m_rPCD.Read( pCbN, nW2 );
- m_rPCD.Read( pCrN, nW2 );
+ m_rPCD.ReadBytes( pL0N, nWidth );
+ m_rPCD.ReadBytes( pL1N, nWidth );
+ m_rPCD.ReadBytes( pCbN, nW2 );
+ m_rPCD.ReadBytes( pCrN, nW2 );
pCbN[nW2]=pCbN[ nW2 - 1 ];
pCrN[nW2]=pCrN[ nW2 - 1 ];
}