summaryrefslogtreecommitdiff
path: root/test/source/xmlwriter.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 /test/source/xmlwriter.cxx
parentd0bc637426060593046c8d3a4d01d0b05b052cc5 (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 'test/source/xmlwriter.cxx')
-rw-r--r--test/source/xmlwriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/xmlwriter.cxx b/test/source/xmlwriter.cxx
index d19284185153..f363378d57a1 100644
--- a/test/source/xmlwriter.cxx
+++ b/test/source/xmlwriter.cxx
@@ -27,7 +27,7 @@ namespace
int lclWriteCallback(void* pContext, const char* sBuffer, int nLen)
{
SvStream* pStream = static_cast<SvStream*>(pContext);
- return (int) pStream->Write(sBuffer, nLen);
+ return static_cast<int>(pStream->WriteBytes(sBuffer, nLen));
}
int lclCloseCallback(void* pContext)