summaryrefslogtreecommitdiff
path: root/test/source/xmlwriter.cxx
diff options
context:
space:
mode:
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)