summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-08-05 19:01:37 +0200
committerArnaud Versini <arnaud.versini@gmail.com>2012-08-07 23:13:46 +0200
commit4d210ad17d305be17145a396963fa567617b3178 (patch)
tree22447a2a2e634f03e549f914460d3e83641a75fb /connectivity/source/sdbcx
parentcf190e359d2556595b1c888b9b9028a4cc75a605 (diff)
Replace usage of rtl/memory.h in connectivity with equivalent from string.h
Change-Id: I0284aedfd831e8af001534c5ce8a39c3a11214fa
Diffstat (limited to 'connectivity/source/sdbcx')
-rw-r--r--connectivity/source/sdbcx/VDescriptor.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/sdbcx/VDescriptor.cxx b/connectivity/source/sdbcx/VDescriptor.cxx
index 686850b6fc45..9993dd6f3020 100644
--- a/connectivity/source/sdbcx/VDescriptor.cxx
+++ b/connectivity/source/sdbcx/VDescriptor.cxx
@@ -22,6 +22,7 @@
#include <functional>
#include <algorithm>
+#include <string.h>
namespace connectivity
{
@@ -46,7 +47,7 @@ namespace connectivity
// com::sun::star::lang::XUnoTunnel
sal_Int64 SAL_CALL ODescriptor::getSomething( const Sequence< sal_Int8 >& rId ) throw(RuntimeException)
{
- return (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
+ return (rId.getLength() == 16 && 0 == memcmp(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
? reinterpret_cast< sal_Int64 >( this )
: 0;
}