summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unofield.cxx
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2012-09-29 14:47:11 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-10-01 18:48:05 +0000
commit36a2db3722b79ed3df075d7f3fa77fb761bcf5a4 (patch)
tree838cdec72aeea68c3ad78f8d18535afd5408d43a /editeng/source/uno/unofield.cxx
parent053b68a0c7b75eae7d86d4465f65abc6046515ee (diff)
Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'editeng/source/uno/unofield.cxx')
-rw-r--r--editeng/source/uno/unofield.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/uno/unofield.cxx b/editeng/source/uno/unofield.cxx
index 8bc3fccddde7..90ef8741d82b 100644
--- a/editeng/source/uno/unofield.cxx
+++ b/editeng/source/uno/unofield.cxx
@@ -245,7 +245,7 @@ const ::com::sun::star::uno::Sequence< sal_Int8 > & SvxUnoTextField::getUnoTunne
sal_Int64 SAL_CALL SvxUnoTextField::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));