diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-06-03 14:45:59 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-06-06 18:09:11 +0000 |
commit | 62d270116bf34778bf581f21b27fa9cdbff7de0e (patch) | |
tree | 0402df0506ab8f6825ef497f27426f01d2e01850 /vcl/unx | |
parent | d0bc637426060593046c8d3a4d01d0b05b052cc5 (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/unx')
-rw-r--r-- | vcl/unx/generic/printer/jobdata.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/printer/jobdata.cxx b/vcl/unx/generic/printer/jobdata.cxx index aead34c96eb1..730487dbc294 100644 --- a/vcl/unx/generic/printer/jobdata.cxx +++ b/vcl/unx/generic/printer/jobdata.cxx @@ -176,7 +176,7 @@ bool JobData::getStreamBuffer( void*& pData, sal_uInt32& bytes ) sal_uLong nBytes; std::unique_ptr<char[]> pContextBuffer(m_aContext.getStreamableBuffer( nBytes )); if( nBytes ) - aStream.Write( pContextBuffer.get(), nBytes ); + aStream.WriteBytes( pContextBuffer.get(), nBytes ); pContextBuffer.reset(); // success @@ -276,7 +276,7 @@ bool JobData::constructFromStreamBuffer( void* pData, sal_uInt32 bytes, JobData& rJobData.m_aContext.setParser( rJobData.m_pParser ); const sal_uInt64 nBytes = bytes - aStream.Tell(); std::unique_ptr<char[]> pRemain(new char[bytes - aStream.Tell()]); - aStream.Read( pRemain.get(), nBytes ); + aStream.ReadBytes( pRemain.get(), nBytes ); rJobData.m_aContext.rebuildFromStreamBuffer( pRemain.get(), nBytes ); bContext = true; } |