summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/accimplaccess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/accimplaccess.cxx')
-rw-r--r--comphelper/source/misc/accimplaccess.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx
index dab11af702a7..f70fa5498cc9 100644
--- a/comphelper/source/misc/accimplaccess.cxx
+++ b/comphelper/source/misc/accimplaccess.cxx
@@ -23,6 +23,7 @@
#include <cppuhelper/typeprovider.hxx>
#include <set>
+#include <string.h>
//.........................................................................
namespace comphelper
@@ -113,7 +114,7 @@ namespace comphelper
sal_Int64 nReturn( 0 );
if ( ( _rIdentifier.getLength() == 16 )
- && ( 0 == rtl_compareMemory( getUnoTunnelImplementationId().getConstArray(), _rIdentifier.getConstArray(), 16 ) )
+ && ( 0 == memcmp( getUnoTunnelImplementationId().getConstArray(), _rIdentifier.getConstArray(), 16 ) )
)
nReturn = reinterpret_cast< sal_Int64 >( this );