diff options
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" |