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 --- cppcanvas/source/mtfrenderer/emfplus.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cppcanvas/source') diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx index 0b31a3a96a87..bc82c84c0609 100644 --- a/cppcanvas/source/mtfrenderer/emfplus.cxx +++ b/cppcanvas/source/mtfrenderer/emfplus.cxx @@ -1848,7 +1848,7 @@ namespace cppcanvas OSL_ENSURE(dataSize >= 4, "No room for TotalObjectSize in EmfPlusContinuedObjectRecord"); // 1st 4 bytes are TotalObjectSize - mMStream.Write (static_cast(rMF.GetData()) + rMF.Tell() + 4, dataSize - 4); + mMStream.WriteBytes(static_cast(rMF.GetData()) + rMF.Tell() + 4, dataSize - 4); SAL_INFO("cppcanvas.emf", "EMF+ read next object part size: " << size << " type: " << type << " flags: " << flags << " data size: " << dataSize); } else { if (mbMultipart) { -- cgit