diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2012-07-28 22:01:59 +0200 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@gmail.com> | 2012-07-29 15:01:55 +0200 |
commit | 4be123fed2b8d7e10bb98cd753e3b5cbc1d7293a (patch) | |
tree | bef4471311bb3b1c3a6b5594fe1a08bb9f8ac091 /package/source/zippackage/ZipPackageFolder.cxx | |
parent | e2b7dc3fcd8cc926d54ddcca0d268fbd3b123a7f (diff) |
Use memcpy & memcmp insteadof rtl_copyMemory & rtl_compareMemory in package
Change-Id: Ia24406ff31949e00725db74bbe5b016894a22f50
Diffstat (limited to 'package/source/zippackage/ZipPackageFolder.cxx')
-rw-r--r-- | package/source/zippackage/ZipPackageFolder.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/source/zippackage/ZipPackageFolder.cxx b/package/source/zippackage/ZipPackageFolder.cxx index b9c19c9a3ce2..60de629b6384 100644 --- a/package/source/zippackage/ZipPackageFolder.cxx +++ b/package/source/zippackage/ZipPackageFolder.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <string.h> + #include <ZipPackageFolder.hxx> #include <ZipFile.hxx> #include <ZipOutputStream.hxx> @@ -764,7 +766,7 @@ sal_Int64 SAL_CALL ZipPackageFolder::getSomething( const uno::Sequence< sal_Int8 { sal_Int64 nMe = 0; if ( aIdentifier.getLength() == 16 && - 0 == rtl_compareMemory(static_getImplementationId().getConstArray(), aIdentifier.getConstArray(), 16 ) ) + 0 == memcmp(static_getImplementationId().getConstArray(), aIdentifier.getConstArray(), 16 ) ) nMe = reinterpret_cast < sal_Int64 > ( this ); return nMe; } |