diff options
Diffstat (limited to 'ucb/source/ucp/file/filstr.cxx')
-rw-r--r-- | ucb/source/ucp/file/filstr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/file/filstr.cxx b/ucb/source/ucp/file/filstr.cxx index 988103519e9a..68010c9e0e83 100644 --- a/ucb/source/ucp/file/filstr.cxx +++ b/ucb/source/ucp/file/filstr.cxx @@ -23,7 +23,7 @@ #include "filstr.hxx" #include "shell.hxx" #include "prov.hxx" -#include <boost/scoped_array.hpp> +#include <memory> using namespace fileaccess; using namespace com::sun::star; @@ -143,7 +143,7 @@ XStream_impl::readBytes( if( ! m_nIsOpen ) throw io::IOException( THROW_WHERE ); - boost::scoped_array<sal_Int8> buffer; + std::unique_ptr<sal_Int8[]> buffer; try { buffer.reset(new sal_Int8[nBytesToRead]); |