diff options
Diffstat (limited to 'vcl/source/outdev/pixel.cxx')
-rw-r--r-- | vcl/source/outdev/pixel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/pixel.cxx b/vcl/source/outdev/pixel.cxx index 03449bddae67..b031ef40c1e7 100644 --- a/vcl/source/outdev/pixel.cxx +++ b/vcl/source/outdev/pixel.cxx @@ -21,7 +21,7 @@ #include <sal/types.h> -#include <boost/scoped_array.hpp> +#include <memory> #include <vcl/outdev.hxx> #include <vcl/virdev.hxx> #include <vcl/window.hxx> @@ -171,7 +171,7 @@ void OutputDevice::DrawPixel( const Polygon& rPts, const Color& rColor ) if( rColor != COL_TRANSPARENT && ! ImplIsRecordLayout() ) { const sal_uInt16 nSize = rPts.GetSize(); - boost::scoped_array<Color> pColArray(new Color[ nSize ]); + std::unique_ptr<Color[]> pColArray(new Color[ nSize ]); for( sal_uInt16 i = 0; i < nSize; i++ ) { |