diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2012-09-29 14:47:11 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-10-01 18:48:05 +0000 |
commit | 36a2db3722b79ed3df075d7f3fa77fb761bcf5a4 (patch) | |
tree | 838cdec72aeea68c3ad78f8d18535afd5408d43a /bridges | |
parent | 053b68a0c7b75eae7d86d4465f65abc6046515ee (diff) |
Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/jni_uno/nativethreadpool.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/jni_uno/nativethreadpool.cxx b/bridges/source/jni_uno/nativethreadpool.cxx index a1e623a9cc66..969d91bb4e80 100644 --- a/bridges/source/jni_uno/nativethreadpool.cxx +++ b/bridges/source/jni_uno/nativethreadpool.cxx @@ -27,10 +27,10 @@ ************************************************************************/ +#include <string.h> #include "jvmaccess/virtualmachine.hxx" #include "rtl/byteseq.h" #include "rtl/byteseq.hxx" -#include "rtl/memory.h" #include "rtl/ref.hxx" #include "sal/types.h" #include "uno/threadpool.h" @@ -111,7 +111,7 @@ Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_threadId( if (p == 0) { return 0; } - rtl_copyMemory(p, seq.getConstArray(), n); + memcpy(p, seq.getConstArray(), n); // sal_Int8 and jbyte ought to be compatible env->ReleasePrimitiveArrayCritical(a, p, 0); return a; |