summaryrefslogtreecommitdiff
path: root/comphelper/inc/comphelper
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-08-25 10:59:00 +0200
committerArnaud Versini <arnaud.versini@gmail.com>2012-08-25 12:41:28 +0200
commit1cd0f1bdb5b2ed998b35dc5120559284a2beb80e (patch)
tree8b0d4f54359c475f66b2d0d2674771ddeefb9d1d /comphelper/inc/comphelper
parent2da4a011130cefa3bd56e5b62c9068d202e81913 (diff)
Replace usage of rtl/memory.h in comphelper with equivalent from string.h
Change-Id: I41d452aa4892606d127e9565cf83c21f78a67392
Diffstat (limited to 'comphelper/inc/comphelper')
-rw-r--r--comphelper/inc/comphelper/servicehelper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/inc/comphelper/servicehelper.hxx b/comphelper/inc/comphelper/servicehelper.hxx
index 3cdffa93165a..a861e88db2d7 100644
--- a/comphelper/inc/comphelper/servicehelper.hxx
+++ b/comphelper/inc/comphelper/servicehelper.hxx
@@ -78,7 +78,7 @@ classname* classname::getImplementation( const uno::Reference< uno::XInterface >
UNO3_GETIMPLEMENTATION_BASE_IMPL(classname)\
sal_Int64 SAL_CALL classname::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw(::com::sun::star::uno::RuntimeException) \
{ \
- if( rId.getLength() == 16 && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), \
+ if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), \
rId.getConstArray(), 16 ) ) \
{ \
return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_IntPtr>(this)); \
@@ -90,7 +90,7 @@ sal_Int64 SAL_CALL classname::getSomething( const ::com::sun::star::uno::Sequenc
UNO3_GETIMPLEMENTATION_BASE_IMPL(classname)\
sal_Int64 SAL_CALL classname::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw(::com::sun::star::uno::RuntimeException) \
{ \
- if( rId.getLength() == 16 && 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), \
+ if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), \
rId.getConstArray(), 16 ) ) \
{ \
return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_IntPtr>(this)); \