diff options
Diffstat (limited to 'xmloff/source/transform/MutableAttrList.cxx')
-rw-r--r-- | xmloff/source/transform/MutableAttrList.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/transform/MutableAttrList.cxx b/xmloff/source/transform/MutableAttrList.cxx index 9b4919aa6864..424f241d6a6d 100644 --- a/xmloff/source/transform/MutableAttrList.cxx +++ b/xmloff/source/transform/MutableAttrList.cxx @@ -26,9 +26,10 @@ * ************************************************************************/ +#include <string.h> + #include <osl/mutex.hxx> #include <xmloff/xmltoken.hxx> -#include <rtl/memory.h> #include <xmloff/attrlist.hxx> #include <comphelper/servicehelper.hxx> #include "MutableAttrList.hxx" @@ -89,7 +90,7 @@ sal_Int64 SAL_CALL XMLMutableAttributeList::getSomething( throw( RuntimeException ) { if( rId.getLength() == 16 && - 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), + 0 == memcmp( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) { return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this)); |