diff options
Diffstat (limited to 'xmlscript/test/imexp.cxx')
-rw-r--r-- | xmlscript/test/imexp.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmlscript/test/imexp.cxx b/xmlscript/test/imexp.cxx index 0b1c90c9deca..42cc8851a86c 100644 --- a/xmlscript/test/imexp.cxx +++ b/xmlscript/test/imexp.cxx @@ -19,7 +19,6 @@ #include <stdio.h> -#include <rtl/memory.h> #include "osl/file.h" #include <rtl/ustrbuf.hxx> @@ -138,7 +137,7 @@ void exportToFile( sal_Int32 nPos = bytes.getLength(); bytes.realloc( nPos + nRead ); - ::rtl_copyMemory( bytes.getArray() + nPos, readBytes.getConstArray(), (sal_uInt32)nRead ); + memcpy( bytes.getArray() + nPos, readBytes.getConstArray(), (sal_uInt32)nRead ); } FILE * f = ::fopen( fname, "w" ); |