From f6acb53bb124e6f01e82ace35ce40f02da5a4e5d Mon Sep 17 00:00:00 2001 From: Arnaud Versini Date: Sat, 4 Aug 2012 14:54:23 +0200 Subject: Replace usage of rtl/memory.h in registry with equivalent from string.h Change-Id: I3c442b7c3743684f62cc5ffc3c4b0926ff0db999 --- registry/source/reflwrit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registry/source/reflwrit.cxx') 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; -- cgit