diff options
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/token.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx index 0d272fb1baf2..6e938cdf0d13 100644 --- a/formula/source/core/api/token.cxx +++ b/formula/source/core/api/token.cxx @@ -31,7 +31,7 @@ #include "formula/FormulaCompiler.hxx" #include <formula/compiler.hrc> #include <svl/sharedstringpool.hxx> -#include <boost/scoped_array.hpp> +#include <memory> namespace formula { @@ -965,7 +965,7 @@ bool FormulaTokenArray::HasMatrixDoubleRefOps() { // RPN-Interpreter simulation. // Simply assumes a double as return value of each function. - boost::scoped_array<FormulaToken*> pStack(new FormulaToken* [nRPN]); + std::unique_ptr<FormulaToken*[]> pStack(new FormulaToken* [nRPN]); FormulaToken* pResult = new FormulaDoubleToken( 0.0 ); short sp = 0; for ( sal_uInt16 j = 0; j < nRPN; j++ ) |