From 1cd0f1bdb5b2ed998b35dc5120559284a2beb80e Mon Sep 17 00:00:00 2001 From: Arnaud Versini Date: Sat, 25 Aug 2012 10:59:00 +0200 Subject: Replace usage of rtl/memory.h in comphelper with equivalent from string.h Change-Id: I41d452aa4892606d127e9565cf83c21f78a67392 --- comphelper/inc/comphelper/servicehelper.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'comphelper/inc') 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(reinterpret_cast(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(reinterpret_cast(this)); \ -- cgit