From 4d210ad17d305be17145a396963fa567617b3178 Mon Sep 17 00:00:00 2001 From: Arnaud Versini Date: Sun, 5 Aug 2012 19:01:37 +0200 Subject: Replace usage of rtl/memory.h in connectivity with equivalent from string.h Change-Id: I0284aedfd831e8af001534c5ce8a39c3a11214fa --- connectivity/source/sdbcx/VDescriptor.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'connectivity/source/sdbcx') 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 #include +#include 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; } -- cgit