summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-08-04 16:42:11 +0200
committerArnaud Versini <arnaud.versini@gmail.com>2012-08-04 17:47:00 +0200
commit9d314ab71ed25a4bc5b4b1b6720cc24577137f04 (patch)
tree8ca7ae8166da702257b08e2b362d938b521b78d6 /unodevtools
parent706e7b1e206b52aaf5aea359ce3b02d3aaa73ca8 (diff)
Replace usage of rtl/memory.h in unodevtools with equivalent from string.h
Change-Id: Id13d0be47071345508ea1ddd3a8c4b8e656fcfe8
Diffstat (limited to 'unodevtools')
-rw-r--r--unodevtools/source/unodevtools/typeblob.cxx20
1 files changed, 11 insertions, 9 deletions
diff --git a/unodevtools/source/unodevtools/typeblob.cxx b/unodevtools/source/unodevtools/typeblob.cxx
index b2377b1ad4a3..d877e44faf8b 100644
--- a/unodevtools/source/unodevtools/typeblob.cxx
+++ b/unodevtools/source/unodevtools/typeblob.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <string.h>
+
#include "rtl/alloc.h"
#include "registry/writer.hxx"
@@ -316,7 +318,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const void* p = writer.getBlob(blobsize);
pBlob = (sal_uInt8*)rtl_allocateMemory(*blobsize);
- rtl_copyMemory(pBlob, p, *blobsize);
+ memcpy(pBlob, p, *blobsize);
}
break;
case TypeClass_MODULE:
@@ -358,7 +360,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const void* p = writer.getBlob(blobsize);
pBlob = (sal_uInt8*)rtl_allocateMemory(*blobsize);
- rtl_copyMemory(pBlob, p, *blobsize);
+ memcpy(pBlob, p, *blobsize);
}
break;
case TypeClass_INTERFACE:
@@ -470,7 +472,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const void* p = writer.getBlob(blobsize);
pBlob = (sal_uInt8*)rtl_allocateMemory(*blobsize);
- rtl_copyMemory(pBlob, p, *blobsize);
+ memcpy(pBlob, p, *blobsize);
}
break;
case TypeClass_STRUCT:
@@ -530,7 +532,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const void* p = writer.getBlob(blobsize);
pBlob = (sal_uInt8*)rtl_allocateMemory(*blobsize);
- rtl_copyMemory(pBlob, p, *blobsize);
+ memcpy(pBlob, p, *blobsize);
}
break;
case TypeClass_EXCEPTION:
@@ -572,7 +574,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const void* p = writer.getBlob(blobsize);
pBlob = (sal_uInt8*)rtl_allocateMemory(*blobsize);
- rtl_copyMemory(pBlob, p, *blobsize);
+ memcpy(pBlob, p, *blobsize);
}
break;
case TypeClass_ENUM:
@@ -603,7 +605,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const void* p = writer.getBlob(blobsize);
pBlob = (sal_uInt8*)rtl_allocateMemory(*blobsize);
- rtl_copyMemory(pBlob, p, *blobsize);
+ memcpy(pBlob, p, *blobsize);
}
break;
case TypeClass_TYPEDEF:
@@ -623,7 +625,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const void* p = writer.getBlob(blobsize);
pBlob = (sal_uInt8*)rtl_allocateMemory(*blobsize);
- rtl_copyMemory(pBlob, p, *blobsize);
+ memcpy(pBlob, p, *blobsize);
}
break;
case TypeClass_SERVICE:
@@ -760,7 +762,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const void* p = writer.getBlob(blobsize);
pBlob = (sal_uInt8*)rtl_allocateMemory(*blobsize);
- rtl_copyMemory(pBlob, p, *blobsize);
+ memcpy(pBlob, p, *blobsize);
}
break;
case TypeClass_SINGLETON:
@@ -785,7 +787,7 @@ void* getTypeBlob(Reference< XHierarchicalNameAccess > xTDmgr,
const void* p = writer.getBlob(blobsize);
pBlob = (sal_uInt8*)rtl_allocateMemory(*blobsize);
- rtl_copyMemory(pBlob, p, *blobsize);
+ memcpy(pBlob, p, *blobsize);
}
break;
default: