summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/generic/config.cxx2
-rw-r--r--tools/source/inet/inetstrm.cxx5
-rw-r--r--tools/source/string/tustring.cxx1
3 files changed, 3 insertions, 5 deletions
diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx
index d2852cf5f737..30709499733f 100644
--- a/tools/source/generic/config.cxx
+++ b/tools/source/generic/config.cxx
@@ -116,7 +116,7 @@ static sal_uInt8* ImplSysReadConfig( const rtl::OUString& rFileName,
if (nRead > 2 && memcmp(pBuf, BOM, 3) == 0)
{
nRead -= 3;
- rtl_moveMemory(pBuf, pBuf + 3, sal::static_int_cast<sal_Size>(nRead * sizeof(sal_uInt8)) );
+ memmove(pBuf, pBuf + 3, sal::static_int_cast<sal_Size>(nRead * sizeof(sal_uInt8)) );
rbIsUTF8BOM = sal_True;
}
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();
}
diff --git a/tools/source/string/tustring.cxx b/tools/source/string/tustring.cxx
index 58217be7c270..0893e4afb256 100644
--- a/tools/source/string/tustring.cxx
+++ b/tools/source/string/tustring.cxx
@@ -23,7 +23,6 @@
#include <osl/interlck.h>
#include <rtl/alloc.h>
-#include <rtl/memory.h>
#include <rtl/tencinfo.h>
#include <rtl/instance.hxx>
#include <tools/string.hxx>