summaryrefslogtreecommitdiff
path: root/cppu/source/uno/constr.hxx
diff options
context:
space:
mode:
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: