diff options
Diffstat (limited to 'sc/source/filter/qpro/qpro.cxx')
-rw-r--r-- | sc/source/filter/qpro/qpro.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/qpro/qpro.cxx b/sc/source/filter/qpro/qpro.cxx index 442a0adaf17c..8195b82efb89 100644 --- a/sc/source/filter/qpro/qpro.cxx +++ b/sc/source/filter/qpro/qpro.cxx @@ -33,7 +33,7 @@ #include "formulacell.hxx" #include "biff.hxx" #include <tools/stream.hxx> -#include <boost/scoped_array.hpp> +#include <memory> FltError ScQProReader::readSheet( SCTAB nTab, ScDocument* pDoc, ScQProStyle *pStyle ) { @@ -223,7 +223,7 @@ bool ScQProReader::nextRecord() void ScQProReader::readString( OUString &rString, sal_uInt16 nLength ) { - boost::scoped_array<sal_Char> pText(new sal_Char[ nLength + 1 ]); + std::unique_ptr<sal_Char[]> pText(new sal_Char[ nLength + 1 ]); nLength = mpStream->Read(pText.get(), nLength); pText[ nLength ] = 0; rString = OUString( pText.get(), strlen(pText.get()), mpStream->GetStreamCharSet() ); |