summaryrefslogtreecommitdiff
path: root/svl
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 /svl
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 'svl')
-rw-r--r--svl/source/filerec/filerec.cxx2
-rw-r--r--svl/source/items/lckbitem.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index b4febf724453..fcf83f3f1380 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -504,7 +504,7 @@ bool SfxMultiRecordReader::ReadHeader_Impl()
_pContentOfs = new sal_uInt32[_nContentCount];
memset(_pContentOfs, 0, _nContentCount*sizeof(sal_uInt32));
#if defined(OSL_LITENDIAN)
- _pStream->Read( _pContentOfs, sizeof(sal_uInt32)*_nContentCount );
+ _pStream->ReadBytes( _pContentOfs, sizeof(sal_uInt32)*_nContentCount );
#else
// (loop without braces)
for ( sal_uInt16 n = 0; n < _nContentCount; ++n )
diff --git a/svl/source/items/lckbitem.cxx b/svl/source/items/lckbitem.cxx
index e4bf31789ab4..9126580162e5 100644
--- a/svl/source/items/lckbitem.cxx
+++ b/svl/source/items/lckbitem.cxx
@@ -84,8 +84,8 @@ SfxPoolItem* SfxLockBytesItem::Create( SvStream &rStream, sal_uInt16 ) const
nToRead = MAX_BUF;
else
nToRead = nSize - nActRead;
- nActRead += rStream.Read( cTmpBuf, nToRead );
- aNewStream.Write( cTmpBuf, nToRead );
+ nActRead += rStream.ReadBytes( cTmpBuf, nToRead );
+ aNewStream.WriteBytes( cTmpBuf, nToRead );
} while( nSize > nActRead );
return new SfxLockBytesItem( Which(), aNewStream );
@@ -113,7 +113,7 @@ bool SfxLockBytesItem::PutValue( const css::uno::Any& rVal, sal_uInt8 )
if ( aSeq.getLength() )
{
SvMemoryStream* pStream = new SvMemoryStream();
- pStream->Write( aSeq.getConstArray(), aSeq.getLength() );
+ pStream->WriteBytes( aSeq.getConstArray(), aSeq.getLength() );
pStream->Seek(0);
_xVal = new SvLockBytes( pStream, true );