From 36a2db3722b79ed3df075d7f3fa77fb761bcf5a4 Mon Sep 17 00:00:00 2001 From: Arnaud Versini Date: Sat, 29 Sep 2012 14:47:11 +0200 Subject: Replace usage of rtl_*Memory with equivalent from string.h Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud Tested-by: Norbert Thiebaud --- xmlhelp/source/cxxhelp/inc/qe/Query.hxx | 4 ++-- xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'xmlhelp') 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 #include #include - +#include 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 -#include #include "bufferedinputstream.hxx" -- cgit