diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2012-07-28 22:48:28 +0200 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@gmail.com> | 2012-07-29 15:01:55 +0200 |
commit | 04710a69122d383071520ae3d39664a5edb80520 (patch) | |
tree | dc45d9ad292f7cde48f6fdee27a77fe9d49070ec /sd/source/ui/framework | |
parent | 4be123fed2b8d7e10bb98cd753e3b5cbc1d7293a (diff) |
Replace usage of rtl/memory.h in sd with their equivalent from string.h
Change-Id: I79ab2e420783b06b3cba627795a108addb5a2e8b
Diffstat (limited to 'sd/source/ui/framework')
-rw-r--r-- | sd/source/ui/framework/factories/Pane.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/framework/factories/ViewShellWrapper.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/framework/factories/Pane.cxx b/sd/source/ui/framework/factories/Pane.cxx index 6ae18d03d0e6..cf29d16ea54d 100644 --- a/sd/source/ui/framework/factories/Pane.cxx +++ b/sd/source/ui/framework/factories/Pane.cxx @@ -210,7 +210,7 @@ sal_Int64 SAL_CALL Pane::getSomething (const Sequence<sal_Int8>& rId) sal_Int64 nResult = 0; if (rId.getLength() == 16 - && rtl_compareMemory(getUnoTunnelId().getConstArray(), rId.getConstArray(), 16) == 0) + && memcmp(getUnoTunnelId().getConstArray(), rId.getConstArray(), 16) == 0) { nResult = reinterpret_cast<sal_Int64>(this); } diff --git a/sd/source/ui/framework/factories/ViewShellWrapper.cxx b/sd/source/ui/framework/factories/ViewShellWrapper.cxx index c66be3c359a7..1108ffe23c58 100644 --- a/sd/source/ui/framework/factories/ViewShellWrapper.cxx +++ b/sd/source/ui/framework/factories/ViewShellWrapper.cxx @@ -195,7 +195,7 @@ sal_Int64 SAL_CALL ViewShellWrapper::getSomething (const Sequence<sal_Int8>& rId sal_Int64 nResult = 0; if (rId.getLength() == 16 - && rtl_compareMemory(getUnoTunnelId().getConstArray(), rId.getConstArray(), 16) == 0) + && memcmp(getUnoTunnelId().getConstArray(), rId.getConstArray(), 16) == 0) { nResult = reinterpret_cast<sal_Int64>(this); } |