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 /extensions | |
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 'extensions')
-rw-r--r-- | extensions/source/scanner/sane.cxx | 2 | ||||
-rw-r--r-- | extensions/source/scanner/scanunx.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx index f1bff60c0552..99195750eaef 100644 --- a/extensions/source/scanner/sane.cxx +++ b/extensions/source/scanner/sane.cxx @@ -793,7 +793,7 @@ bool Sane::Start( BitmapTransporter& rBitmap ) SAL_WARN( "extensions.scanner", "short read, padding with zeros" ); memset(pBuffer + items_read, 0, aParams.bytes_per_line - items_read); } - aConverter.Write( pBuffer, aParams.bytes_per_line ); + aConverter.WriteBytes(pBuffer, aParams.bytes_per_line); } else if( eType == FrameStyle_Gray ) { diff --git a/extensions/source/scanner/scanunx.cxx b/extensions/source/scanner/scanunx.cxx index b92fb5539677..268ab107e91f 100644 --- a/extensions/source/scanner/scanunx.cxx +++ b/extensions/source/scanner/scanunx.cxx @@ -70,7 +70,7 @@ Sequence< sal_Int8 > BitmapTransporter::getDIB() throw(std::exception) m_aStream.Seek( 0 ); Sequence< sal_Int8 > aValue( nBytes ); - m_aStream.Read( aValue.getArray(), nBytes ); + m_aStream.ReadBytes( aValue.getArray(), nBytes ); m_aStream.Seek( nPreviousPos ); return aValue; |