summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/FTable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/file/FTable.cxx')
-rw-r--r--connectivity/source/drivers/file/FTable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/file/FTable.cxx b/connectivity/source/drivers/file/FTable.cxx
index 6f37d0c33535..d947c251a2b5 100644
--- a/connectivity/source/drivers/file/FTable.cxx
+++ b/connectivity/source/drivers/file/FTable.cxx
@@ -161,7 +161,7 @@ Sequence< sal_Int8 > OFileTable::getUnoTunnelImplementationId()
sal_Int64 OFileTable::getSomething( const Sequence< sal_Int8 > & rId ) throw (RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "OFileTable::getSomething" );
- 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 )
: OTable_TYPEDEF::getSomething(rId);
}