diff options
Diffstat (limited to 'desktop/source/app/officeipcthread.cxx')
-rw-r--r-- | desktop/source/app/officeipcthread.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx index cb6ad0b98c02..71fcfc3c9921 100644 --- a/desktop/source/app/officeipcthread.cxx +++ b/desktop/source/app/officeipcthread.cxx @@ -46,7 +46,7 @@ #include <osl/file.hxx> #include <rtl/process.h> #include <tools/getprocessworkingdir.hxx> -#include <boost/scoped_array.hpp> +#include <memory> using namespace desktop; using namespace ::com::sun::star::uno; @@ -261,7 +261,7 @@ OUString CreateMD5FromString( const OUString& aMsg ) const sal_uInt8* pData = reinterpret_cast<const sal_uInt8*>(aMsg.getStr()); sal_uInt32 nSize = ( aMsg.getLength() * sizeof( sal_Unicode )); sal_uInt32 nMD5KeyLen = rtl_digest_queryLength( handle ); - boost::scoped_array<sal_uInt8> pMD5KeyBuffer(new sal_uInt8[ nMD5KeyLen ]); + std::unique_ptr<sal_uInt8[]> pMD5KeyBuffer(new sal_uInt8[ nMD5KeyLen ]); rtl_digest_init( handle, pData, nSize ); rtl_digest_update( handle, pData, nSize ); |