summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/codec.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 /svx/source/gallery2/codec.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 'svx/source/gallery2/codec.cxx')
-rw-r--r--svx/source/gallery2/codec.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/codec.cxx b/svx/source/gallery2/codec.cxx
index 8357be0caa9c..aeb7a5dd0066 100644
--- a/svx/source/gallery2/codec.cxx
+++ b/svx/source/gallery2/codec.cxx
@@ -97,7 +97,7 @@ void GalleryCodec::Read( SvStream& rStmToRead )
if( 1 == nVersion )
{
std::unique_ptr<sal_uInt8[]> pCompressedBuffer(new sal_uInt8[ nCompressedSize ]);
- rStm.Read( pCompressedBuffer.get(), nCompressedSize );
+ rStm.ReadBytes(pCompressedBuffer.get(), nCompressedSize);
sal_uInt8* pInBuf = pCompressedBuffer.get();
std::unique_ptr<sal_uInt8[]> pOutBuf(new sal_uInt8[ nUnCompressedSize ]);
sal_uInt8* pTmpBuf = pOutBuf.get();
@@ -137,7 +137,7 @@ void GalleryCodec::Read( SvStream& rStmToRead )
}
while ( !bEndDecoding && ( pTmpBuf <= pLast ) );
- rStmToRead.Write( pOutBuf.get(), nUnCompressedSize );
+ rStmToRead.WriteBytes(pOutBuf.get(), nUnCompressedSize);
}
else if( 2 == nVersion )
{