summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mysql/YTable.cxx
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/drivers/mysql/YTable.cxx
parentcf190e359d2556595b1c888b9b9028a4cc75a605 (diff)
Replace usage of rtl/memory.h in connectivity with equivalent from string.h
Change-Id: I0284aedfd831e8af001534c5ce8a39c3a11214fa
Diffstat (limited to 'connectivity/source/drivers/mysql/YTable.cxx')
-rw-r--r--connectivity/source/drivers/mysql/YTable.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mysql/YTable.cxx b/connectivity/source/drivers/mysql/YTable.cxx
index 79e23aca7ed6e..b0704c02bfde4 100644
--- a/connectivity/source/drivers/mysql/YTable.cxx
+++ b/connectivity/source/drivers/mysql/YTable.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <string.h>
#include "mysql/YTable.hxx"
#include "mysql/YTables.hxx"
#include <com/sun/star/sdbc/XRow.hpp>
@@ -163,7 +164,7 @@ Sequence< sal_Int8 > OMySQLTable::getUnoTunnelImplementationId()
//------------------------------------------------------------------
sal_Int64 OMySQLTable::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 )
: OTable_TYPEDEF::getSomething(rId);
}