diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2012-09-29 14:47:11 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-10-01 18:48:05 +0000 |
commit | 36a2db3722b79ed3df075d7f3fa77fb761bcf5a4 (patch) | |
tree | 838cdec72aeea68c3ad78f8d18535afd5408d43a /xmlhelp | |
parent | 053b68a0c7b75eae7d86d4465f65abc6046515ee (diff) |
Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/inc/qe/Query.hxx | 4 | ||||
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/xmlhelp/source/cxxhelp/inc/qe/Query.hxx b/xmlhelp/source/cxxhelp/inc/qe/Query.hxx index d5628f39f3ce..b9f52f379517 100644 --- a/xmlhelp/source/cxxhelp/inc/qe/Query.hxx +++ b/xmlhelp/source/cxxhelp/inc/qe/Query.hxx @@ -22,7 +22,7 @@ #include <sal/types.h> #include <rtl/ustring.hxx> #include <vector> - +#include <string.h> namespace xmlsearch { @@ -40,7 +40,7 @@ namespace xmlsearch { matches_( new sal_Int32[ 2*nColumns ] ), penalty_( penalty ) { - rtl_zeroMemory( matches_,sizeof( sal_Int32 ) * matchesL_ ); + memset( matches_, 0, sizeof( sal_Int32 ) * matchesL_ ); } ~QueryHit() { delete[] matches_; } diff --git a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx index ef84cc86cbb7..303340e614aa 100644 --- a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx +++ b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx @@ -28,7 +28,6 @@ #include <string.h> -#include <rtl/memory.h> #include "bufferedinputstream.hxx" |