diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2012-08-13 11:21:13 +0200 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@gmail.com> | 2012-08-14 16:18:05 +0200 |
commit | 9a3d8ed28dc44743b6715cd8bac39b55762cba11 (patch) | |
tree | 2755682e3e28998f7df4c2fa4fde1d7235e8c872 /vcl/source/control | |
parent | d26599c3e1dea940439985b46b727cfc22b37c38 (diff) |
Replace usage of rtl/memory.h in vcl with equivalent from string.h
Change-Id: If8d460189c57f9c02923019e95bf47db1d96c716
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/edit.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 2d5e53e489ea..8389d2db73e4 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -71,7 +71,6 @@ #include <sot/exchange.hxx> #include <sot/formats.hxx> -#include <rtl/memory.h> #include <sal/macros.h> #include <vcl/unohelp.hxx> @@ -172,7 +171,7 @@ void Impl_IMEInfos::CopyAttribs( const xub_StrLen* pA, xub_StrLen nL ) nLen = nL; delete[] pAttribs; pAttribs = new sal_uInt16[ nL ]; - rtl_copyMemory( pAttribs, pA, nL*sizeof(sal_uInt16) ); + memcpy( pAttribs, pA, nL*sizeof(sal_uInt16) ); } // ----------------------------------------------------------------------- |