summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx/VDescriptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/sdbcx/VDescriptor.cxx')
-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;
}