summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpgrfobj.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 /lotuswordpro/source/filter/lwpgrfobj.cxx
parentNormalize on using @throws instead of @raise[s] (diff)
downloadcore-62d270116bf34778bf581f21b27fa9cdbff7de0e.tar.gz
core-62d270116bf34778bf581f21b27fa9cdbff7de0e.zip
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 'lotuswordpro/source/filter/lwpgrfobj.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpgrfobj.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpgrfobj.cxx b/lotuswordpro/source/filter/lwpgrfobj.cxx
index bf04563f8732..df843a9f8703 100644
--- a/lotuswordpro/source/filter/lwpgrfobj.cxx
+++ b/lotuswordpro/source/filter/lwpgrfobj.cxx
@@ -367,7 +367,7 @@ sal_uInt32 LwpGraphicObject::GetRawGrafData(sal_uInt8*& pGrafData)
// read image data
sal_uInt32 nDataLen = pMemGrafStream->GetEndOfData();
pGrafData = new sal_uInt8 [nDataLen];
- pMemGrafStream->Read(pGrafData, nDataLen);
+ pMemGrafStream->ReadBytes(pGrafData, nDataLen);
delete pMemGrafStream;
pMemGrafStream = nullptr;
@@ -418,7 +418,7 @@ sal_uInt32 LwpGraphicObject::GetGrafData(sal_uInt8*& pGrafData)
pGrafStream->Seek(nPos);
pGrafData = new sal_uInt8 [nDataLen];
- pMemGrafStream->Read(pGrafData, nDataLen);
+ pMemGrafStream->ReadBytes(pGrafData, nDataLen);
delete pMemGrafStream;
pMemGrafStream = nullptr;