summaryrefslogtreecommitdiff
path: root/tools/source/inet/inetstrm.cxx
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-09-29 14:47:11 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-10-01 18:48:05 +0000
commit36a2db3722b79ed3df075d7f3fa77fb761bcf5a4 (patch)
tree838cdec72aeea68c3ad78f8d18535afd5408d43a /tools/source/inet/inetstrm.cxx
parent053b68a0c7b75eae7d86d4465f65abc6046515ee (diff)
Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'tools/source/inet/inetstrm.cxx')
-rw-r--r--tools/source/inet/inetstrm.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx
index 19db6ee5a76a..7392f50b6647 100644
--- a/tools/source/inet/inetstrm.cxx
+++ b/tools/source/inet/inetstrm.cxx
@@ -19,7 +19,6 @@
#include <comphelper/string.hxx>
#include <sal/types.h>
-#include <rtl/memory.h>
#include <rtl/strbuf.hxx>
#include <tools/cachestr.hxx>
#include <tools/inetmsg.hxx>
@@ -1284,7 +1283,7 @@ int INetMIMEMessageStream::GetMsgLine (sal_Char *pData, sal_uIntPtr nSize)
aDelim.append(pMsg->GetMultipartBoundary());
aDelim.append(RTL_CONSTASCII_STRINGPARAM("\r\n"));
- rtl_copyMemory(pData, aDelim.getStr(),
+ memcpy(pData, aDelim.getStr(),
aDelim.getLength());
return aDelim.getLength();
}
@@ -1303,7 +1302,7 @@ int INetMIMEMessageStream::GetMsgLine (sal_Char *pData, sal_uIntPtr nSize)
aDelim.append(pMsg->GetMultipartBoundary());
aDelim.append(RTL_CONSTASCII_STRINGPARAM("--\r\n"));
- rtl_copyMemory (pData, aDelim.getStr(),
+ memcpy (pData, aDelim.getStr(),
aDelim.getLength());
return aDelim.getLength();
}