summaryrefslogtreecommitdiff
path: root/cppu/source/uno/constr.hxx
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-07-23 21:17:15 +0200
committerArnaud Versini <arnaud.versini@gmail.com>2012-07-24 20:35:21 +0200
commitb8d562018155d7bb961198dc1f1dfd5e7a0d1d62 (patch)
tree0fae92af345bfbac69a8c9a515b5ddd08e61d219 /cppu/source/uno/constr.hxx
parent10f08195b8195640016a6eab42818c662f4541d2 (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.hxx4
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: