summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/documentbuilder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/documentbuilder.cxx')
-rw-r--r--unoxml/source/dom/documentbuilder.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx
index 37f9b3f7a5d1..cbfe97a7eb71 100644
--- a/unoxml/source/dom/documentbuilder.cxx
+++ b/unoxml/source/dom/documentbuilder.cxx
@@ -29,7 +29,6 @@
#include <boost/shared_ptr.hpp>
#include <rtl/alloc.h>
-#include <rtl/memory.h>
#include <rtl/ustrbuf.hxx>
#include <comphelper/processfactory.hxx>
@@ -210,7 +209,7 @@ namespace DOM
int nread = pctx->rInputStream->readBytes(chunk, len);
// copy bytes to the provided buffer
- rtl_copyMemory(buffer, chunk.getConstArray(), nread);
+ memcpy(buffer, chunk.getConstArray(), nread);
return nread;
} catch (const com::sun::star::uno::Exception& ex) {
(void) ex;