diff options
Diffstat (limited to 'canvas/source/opengl/ogl_canvashelper.cxx')
-rw-r--r-- | canvas/source/opengl/ogl_canvashelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/opengl/ogl_canvashelper.cxx b/canvas/source/opengl/ogl_canvashelper.cxx index 501e7f83fe6b..15bac809a099 100644 --- a/canvas/source/opengl/ogl_canvashelper.cxx +++ b/canvas/source/opengl/ogl_canvashelper.cxx @@ -36,7 +36,7 @@ #include <GL/glew.h> -#include <boost/scoped_array.hpp> +#include <memory> using namespace ::com::sun::star; @@ -775,7 +775,7 @@ namespace oglcanvas { // create the DXArray const sal_Int32 nLen( aLogicalAdvancements.getLength() ); - ::boost::scoped_array<long> pDXArray( new long[nLen] ); + ::std::unique_ptr<long[]> pDXArray( new long[nLen] ); for( sal_Int32 i=0; i<nLen; ++i ) pDXArray[i] = basegfx::fround( aLogicalAdvancements[i] ); |