summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/databases.cxx
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-07-29 14:42:26 +0200
committerArnaud Versini <arnaud.versini@gmail.com>2012-07-29 15:01:56 +0200
commitacd3b2f07026a78a0b819dae0a4a308d115bb1b5 (patch)
treee9a8b66e52a54622186d5ef19405110d7f5073aa /xmlhelp/source/cxxhelp/provider/databases.cxx
parent04710a69122d383071520ae3d39664a5edb80520 (diff)
Replace usage of rtl/memory.h in xmlhelp with their equivalent from string.h
Change-Id: I02a1af9bac1e1283f33bc204cd8737ebd2ebd06c
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/databases.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.cxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index 2abd91bb77f2..51ef2cb2ebce 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -32,7 +32,6 @@
#include <osl/process.h>
#include <rtl/uri.hxx>
#include <osl/file.hxx>
-#include <rtl/memory.h>
#include <com/sun/star/lang/Locale.hpp>
#include <rtl/ustrbuf.hxx>
#include "inputstream.hxx"
@@ -1197,11 +1196,11 @@ void Databases::popupDocument( URLParameter* urlPar,char **buffer,int *byteCount
*buffer = new char[ 1+*byteCount ];
- rtl_copyMemory( *buffer,pop1,l1 );
- rtl_copyMemory( *buffer+l1,pop2,l2 );
- rtl_copyMemory( *buffer+(l1+l2),pop3,l3 );
- rtl_copyMemory( *buffer+(l1+l2+l3),pop4,l4 );
- rtl_copyMemory( *buffer+(l1+l2+l3+l4),pop5,l5 );
+ memcpy( *buffer,pop1,l1 );
+ memcpy( *buffer+l1,pop2,l2 );
+ memcpy( *buffer+(l1+l2),pop3,l3 );
+ memcpy( *buffer+(l1+l2+l3),pop4,l4 );
+ memcpy( *buffer+(l1+l2+l3+l4),pop5,l5 );
(*buffer)[*byteCount] = 0;
}
@@ -1306,7 +1305,7 @@ void Databases::cascadingStylesheet( const rtl::OUString& Language,
*byteCount = m_nCustomCSSDocLength;
*buffer = new char[ 1 + *byteCount ];
(*buffer)[*byteCount] = 0;
- rtl_copyMemory( *buffer,m_pCustomCSSDoc,m_nCustomCSSDocLength );
+ memcpy( *buffer,m_pCustomCSSDoc,m_nCustomCSSDocLength );
}
@@ -1377,7 +1376,7 @@ void Databases::setActiveText( const rtl::OUString& Module,
*byteCount = nSize;
*buffer = new char[ 1 + nSize ];
(*buffer)[nSize] = 0;
- rtl_copyMemory( *buffer, pData, nSize );
+ memcpy( *buffer, pData, nSize );
}
else
{