summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/storinfo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/storinfo.cxx')
-rw-r--r--sot/source/sdstor/storinfo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/storinfo.cxx b/sot/source/sdstor/storinfo.cxx
index bba6d8f058eb..d1ea728ec4d4 100644
--- a/sot/source/sdstor/storinfo.cxx
+++ b/sot/source/sdstor/storinfo.cxx
@@ -21,7 +21,7 @@
#include <sot/stg.hxx>
#include <sot/storinfo.hxx>
#include <sot/exchange.hxx>
-#include <boost/scoped_array.hpp>
+#include <memory>
/************** class SvStorageInfo **************************************
*************************************************************************/
@@ -35,7 +35,7 @@ SotClipboardFormatId ReadClipboardFormat( SvStream & rStm )
if( nLen > 0 )
{
// get a string name
- boost::scoped_array<sal_Char> p(new( ::std::nothrow ) sal_Char[ nLen ]);
+ std::unique_ptr<sal_Char[]> p(new( ::std::nothrow ) sal_Char[ nLen ]);
if( p && rStm.Read( p.get(), nLen ) == (sal_uLong) nLen )
{
nFormat = SotExchange::RegisterFormatName(OUString(p.get(), nLen-1, RTL_TEXTENCODING_ASCII_US));