From 62d270116bf34778bf581f21b27fa9cdbff7de0e Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 3 Jun 2016 14:45:59 +0200 Subject: tools: rename SvStream::Read/Write to ReadBytes/WriteBytes Change-Id: Ib788a30d413436aa03f813aa2fddcbc4d6cd2f9a Reviewed-on: https://gerrit.libreoffice.org/25972 Tested-by: Jenkins Reviewed-by: Michael Stahl --- include/tools/stream.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/tools/stream.hxx') diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index c31bc8cc19da..1bae0a89458c 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -276,8 +276,8 @@ public: SvStream& WriteUInt32AsString( sal_uInt32 nUInt32 ); SvStream& WriteInt32AsString( sal_Int32 nInt32 ); - sal_Size Read( void* pData, sal_Size nSize ); - sal_Size Write( const void* pData, sal_Size nSize ); + sal_Size ReadBytes( void* pData, sal_Size nSize ); + sal_Size WriteBytes( const void* pData, sal_Size nSize ); sal_uInt64 Seek( sal_uInt64 nPos ); sal_uInt64 SeekRel( sal_Int64 nPos ); sal_uInt64 Tell() const { return m_nBufFilePos + m_nBufActualPos; } @@ -537,7 +537,7 @@ inline OUString read_uInt8_lenPrefixed_uInt8s_ToOUString(SvStream& rStrm, inline sal_Size write_uInt8s_FromOString(SvStream& rStrm, const OString& rStr, sal_Size nUnits) { - return rStrm.Write(rStr.getStr(), nUnits); + return rStrm.WriteBytes(rStr.getStr(), nUnits); } inline sal_Size write_uInt8s_FromOString(SvStream& rStrm, const OString& rStr) -- cgit