summaryrefslogtreecommitdiff
path: root/binaryurp
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 /binaryurp
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 'binaryurp')
-rw-r--r--binaryurp/source/writer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/binaryurp/source/writer.cxx b/binaryurp/source/writer.cxx
index 664208a517ab..dbbaf85e6c4c 100644
--- a/binaryurp/source/writer.cxx
+++ b/binaryurp/source/writer.cxx
@@ -21,13 +21,13 @@
#include <exception>
#include <vector>
+#include <string.h>
#include "com/sun/star/connection/XConnection.hpp"
#include "com/sun/star/lang/WrappedTargetRuntimeException.hpp"
#include "com/sun/star/uno/XCurrentContext.hpp"
#include "cppuhelper/exc_hlp.hxx"
#include "osl/mutex.hxx"
-#include "rtl/memory.h"
#include "uno/dispatcher.hxx"
#include "binaryany.hxx"
@@ -421,10 +421,10 @@ void Writer::sendMessage(std::vector< unsigned char > const & buffer) {
css::uno::Sequence< sal_Int8 > s(
static_cast< sal_Int32 >(header.size() + k));
OSL_ASSERT(!header.empty());
- rtl_copyMemory(
+ memcpy(
s.getArray(), &header[0], static_cast< sal_Size >(header.size()));
for (;;) {
- rtl_copyMemory(s.getArray() + s.getLength() - k, p, k);
+ memcpy(s.getArray() + s.getLength() - k, p, k);
try {
bridge_->getConnection()->write(s);
} catch (const css::io::IOException & e) {