summaryrefslogtreecommitdiff
path: root/registry/source/reflwrit.cxx
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-08-04 14:54:23 +0200
committerArnaud Versini <arnaud.versini@gmail.com>2012-08-04 17:46:59 +0200
commitf6acb53bb124e6f01e82ace35ce40f02da5a4e5d (patch)
treec840aa69bf185723a3dd5ab9a930ad854e9f30b8 /registry/source/reflwrit.cxx
parent7378c5cb16959aafa32c101d96f32557598d7493 (diff)
Replace usage of rtl/memory.h in registry with equivalent from string.h
Change-Id: I3c442b7c3743684f62cc5ffc3c4b0926ff0db999
Diffstat (limited to 'registry/source/reflwrit.cxx')
-rw-r--r--registry/source/reflwrit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/source/reflwrit.cxx b/registry/source/reflwrit.cxx
index fca4023ab61b..1c644e956eee 100644
--- a/registry/source/reflwrit.cxx
+++ b/registry/source/reflwrit.cxx
@@ -403,7 +403,7 @@ void FieldEntry::setData(const OString& name,
if (constValueType == RT_TYPE_STRING && constValue.aString != 0) {
sal_Int32 n = rtl_ustr_getLength(constValue.aString) + 1;
newValue = new sal_Unicode[n];
- rtl_copyMemory(newValue, constValue.aString, n * sizeof (sal_Unicode));
+ memcpy(newValue, constValue.aString, n * sizeof (sal_Unicode));
}
m_name = name;