diff options
Diffstat (limited to 'helpcompiler')
-rw-r--r-- | helpcompiler/source/HelpLinker.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index 624f8de7dd08..77202b98e11b 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -36,7 +36,7 @@ #include <rtl/bootstrap.hxx> #include <expat.h> -#include <boost/scoped_array.hpp> +#include <memory> #include <boost/scoped_ptr.hpp> IndexerPreProcessor::IndexerPreProcessor @@ -978,7 +978,7 @@ bool compileExtensionHelp aFileStatus.isValid( osl_FileStatus_Mask_FileSize ) ) { sal_uInt64 ret, len = aFileStatus.getFileSize(); - boost::scoped_array<char> s(new char[ int(len) ]); // the buffer to hold the installed files + std::unique_ptr<char[]> s(new char[ int(len) ]); // the buffer to hold the installed files osl::File aFile( aTreeFileURL ); aFile.open( osl_File_OpenFlag_Read ); aFile.read( s.get(), len, ret ); |