summaryrefslogtreecommitdiff
path: root/vcl/source/filter/igif
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 /vcl/source/filter/igif
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 'vcl/source/filter/igif')
-rw-r--r--vcl/source/filter/igif/gifread.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/filter/igif/gifread.cxx b/vcl/source/filter/igif/gifread.cxx
index f008b1bd9125..0609314924c7 100644
--- a/vcl/source/filter/igif/gifread.cxx
+++ b/vcl/source/filter/igif/gifread.cxx
@@ -227,13 +227,13 @@ bool GIFReader::ReadGlobalHeader()
sal_uInt8 nAspect;
bool bRet = false;
- rIStm.Read( pBuf, 6 );
+ rIStm.ReadBytes( pBuf, 6 );
if( NO_PENDING( rIStm ) )
{
pBuf[ 6 ] = 0;
if( !strcmp( pBuf, "GIF87a" ) || !strcmp( pBuf, "GIF89a" ) )
{
- rIStm.Read( pBuf, 7 );
+ rIStm.ReadBytes( pBuf, 7 );
if( NO_PENDING( rIStm ) )
{
SvMemoryStream aMemStm;
@@ -270,7 +270,7 @@ void GIFReader::ReadPaletteEntries( BitmapPalette* pPal, sal_uLong nCount )
if (nLen > nMaxPossible)
nLen = nMaxPossible;
std::unique_ptr<sal_uInt8[]> pBuf(new sal_uInt8[ nLen ]);
- sal_Size nRead = rIStm.Read(pBuf.get(), nLen);
+ sal_Size nRead = rIStm.ReadBytes(pBuf.get(), nLen);
nCount = nRead/3UL;
if( NO_PENDING( rIStm ) )
{
@@ -417,7 +417,7 @@ bool GIFReader::ReadExtension()
std::unique_ptr<sal_uInt8[]> pBuffer(new sal_uInt8[nCount]);
bRet = false;
- sal_Size nRead = rIStm.Read(pBuffer.get(), nCount);
+ sal_Size nRead = rIStm.ReadBytes(pBuffer.get(), nCount);
if (NO_PENDING(rIStm) && cSize < nRead)
{
cSize = pBuffer[cSize];
@@ -437,7 +437,7 @@ bool GIFReader::ReadLocalHeader()
sal_uInt8 pBuf[ 9 ];
bool bRet = false;
- sal_Size nRead = rIStm.Read(pBuf, 9);
+ sal_Size nRead = rIStm.ReadBytes(pBuf, 9);
if (NO_PENDING(rIStm) && nRead == 9)
{
SvMemoryStream aMemStm;
@@ -493,7 +493,7 @@ sal_uLong GIFReader::ReadNextBlock()
nRet = 2UL;
else
{
- rIStm.Read( pSrcBuf, cBlockSize );
+ rIStm.ReadBytes( pSrcBuf, cBlockSize );
if( NO_PENDING( rIStm ) )
{