summaryrefslogtreecommitdiffstats
path: root/package/source/zipapi/MemoryByteGrabber.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/zipapi/MemoryByteGrabber.hxx')
-rw-r--r--package/source/zipapi/MemoryByteGrabber.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/zipapi/MemoryByteGrabber.hxx b/package/source/zipapi/MemoryByteGrabber.hxx
index adde3a6daa66..90f542db4a7a 100644
--- a/package/source/zipapi/MemoryByteGrabber.hxx
+++ b/package/source/zipapi/MemoryByteGrabber.hxx
@@ -54,7 +54,7 @@ public:
nBytesToRead = mnEnd - mnCurrent;
aData.realloc ( nBytesToRead );
- rtl_copyMemory( aData.getArray(), mpBuffer + mnCurrent, nBytesToRead );
+ memcpy( aData.getArray(), mpBuffer + mnCurrent, nBytesToRead );
mnCurrent += nBytesToRead;
return nBytesToRead;
}