summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/urlparameter.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index fddd2acacf79..2060c3dab3cd 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -32,7 +32,6 @@
#include <string.h>
#include <osl/diagnose.hxx>
#include <osl/thread.h>
-#include <rtl/memory.h>
#include <osl/file.hxx>
#include <cppuhelper/weak.hxx>
#include <cppuhelper/queryinterface.hxx>
@@ -1206,8 +1205,8 @@ void InputStreamTransformer::addToBuffer( const char* buffer_,int len_ )
char* tmp = buffer;
buffer = new char[ len+len_ ];
- rtl_copyMemory( (void*)(buffer),(void*)(tmp),sal_uInt32( len ) );
- rtl_copyMemory( (void*)(buffer+len),(void*)(buffer_),sal_uInt32( len_ ) );
+ memcpy( (void*)(buffer),(void*)(tmp),sal_uInt32( len ) );
+ memcpy( (void*)(buffer+len),(void*)(buffer_),sal_uInt32( len_ ) );
delete[] tmp;
len += len_;
}