diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2012-07-23 21:17:15 +0200 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@gmail.com> | 2012-07-24 20:35:21 +0200 |
commit | b8d562018155d7bb961198dc1f1dfd5e7a0d1d62 (patch) | |
tree | 0fae92af345bfbac69a8c9a515b5ddd08e61d219 /cppu/source/uno/constr.hxx | |
parent | 10f08195b8195640016a6eab42818c662f4541d2 (diff) |
Use memset and memcmp insteadof rtl_zeroMemory and rtl_compareMemory in cppu
Change-Id: I88976b215bc23ce5001916ccf123bc3561c2a33a
Diffstat (limited to 'cppu/source/uno/constr.hxx')
-rw-r--r-- | cppu/source/uno/constr.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/constr.hxx b/cppu/source/uno/constr.hxx index 06107cae5004..dd0343a5247f 100644 --- a/cppu/source/uno/constr.hxx +++ b/cppu/source/uno/constr.hxx @@ -19,9 +19,9 @@ #ifndef CONSTR_HXX #define CONSTR_HXX +#include <string.h> #include "prim.hxx" - namespace cppu { @@ -90,7 +90,7 @@ inline void _defaultConstructArray( case typelib_TypeClass_FLOAT: case typelib_TypeClass_DOUBLE: case typelib_TypeClass_INTERFACE: - ::rtl_zeroMemory(pMem, nElementSize * nTotalElements); + memset(pMem, 0, nElementSize * nTotalElements); break; case typelib_TypeClass_STRING: |