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 /opencl/inc | |
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 'opencl/inc')
-rw-r--r-- | opencl/inc/opencl_device_selection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opencl/inc/opencl_device_selection.h b/opencl/inc/opencl_device_selection.h index 19b74aba665f..d49974cf848a 100644 --- a/opencl/inc/opencl_device_selection.h +++ b/opencl/inc/opencl_device_selection.h @@ -244,7 +244,7 @@ private: static int funcWriteCallback(void* pContext, const char* sBuffer, int nLen) { SvStream* pStream = static_cast<SvStream*>(pContext); - return static_cast<int>(pStream->Write(sBuffer, nLen)); + return static_cast<int>(pStream->WriteBytes(sBuffer, nLen)); } static int funcCloseCallback(void* pContext) @@ -340,7 +340,7 @@ public: { sal_Size nSize = pStream->remainingSize(); std::vector<sal_uInt8> aBuffer(nSize + 1); - pStream->Read(aBuffer.data(), nSize); + pStream->ReadBytes(aBuffer.data(), nSize); aBuffer[nSize] = 0; mpDocPtr = xmlParseDoc(reinterpret_cast<xmlChar*>(aBuffer.data())); if (mpDocPtr == nullptr) |