diff options
Diffstat (limited to 'xmloff/source/style/StyleMap.cxx')
-rw-r--r-- | xmloff/source/style/StyleMap.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/style/StyleMap.cxx b/xmloff/source/style/StyleMap.cxx index 7964da386c19..b4c50511a777 100644 --- a/xmloff/source/style/StyleMap.cxx +++ b/xmloff/source/style/StyleMap.cxx @@ -26,8 +26,9 @@ * ************************************************************************/ +#include <string.h> + #include <osl/mutex.hxx> -#include <rtl/memory.h> #include <comphelper/servicehelper.hxx> #include "StyleMap.hxx" @@ -74,7 +75,7 @@ sal_Int64 SAL_CALL StyleMap::getSomething( throw( RuntimeException ) { if( rId.getLength() == 16 && - 0 == rtl_compareMemory( getUnoTunnelId().getConstArray(), + 0 == memcmp( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) { return reinterpret_cast<sal_Int64>( this ); |