diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2012-07-29 17:49:42 +0200 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@gmail.com> | 2012-07-29 21:30:34 +0200 |
commit | 3638561bef4558102f5b5e8f6f9004d8da787f8d (patch) | |
tree | d8ca92cbd844c4bb36c1e5b5a1e3c51b8f552974 /cppu/source/uno/assign.hxx | |
parent | 10ada83716e7c7d591d2c7d5c19cc5920db38faf (diff) |
Replace usage of rtl/memory.h in cppu with their equivalent from string.h
Change-Id: Ia49c97ad58b21dc360a366260b62bcc6b4975dee
Diffstat (limited to 'cppu/source/uno/assign.hxx')
-rw-r--r-- | cppu/source/uno/assign.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cppu/source/uno/assign.hxx b/cppu/source/uno/assign.hxx index 2a6b8130a1b8..a6ba011e07ab 100644 --- a/cppu/source/uno/assign.hxx +++ b/cppu/source/uno/assign.hxx @@ -19,6 +19,8 @@ #ifndef ASSIGN_HXX #define ASSIGN_HXX +#include <string.h> + #include "prim.hxx" #include "destr.hxx" #include "constr.hxx" @@ -128,7 +130,7 @@ inline sal_Bool _assignArray( case typelib_TypeClass_DOUBLE: for (i=0; i < nTotalElements; i++) { - ::rtl_copyMemory((sal_Char *)pDest + i * nElementSize, + memcpy((sal_Char *)pDest + i * nElementSize, (sal_Char *)pSource + i * nElementSize, nElementSize); } |