diff options
Diffstat (limited to 'vcl/source/filter/jpeg/jpegc.cxx')
-rw-r--r-- | vcl/source/filter/jpeg/jpegc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/filter/jpeg/jpegc.cxx b/vcl/source/filter/jpeg/jpegc.cxx index 831b390b87d5..47051d2819cc 100644 --- a/vcl/source/filter/jpeg/jpegc.cxx +++ b/vcl/source/filter/jpeg/jpegc.cxx @@ -35,7 +35,7 @@ extern "C" { #include "jpeg.h" #include <JpegReader.hxx> #include <JpegWriter.hxx> -#include <boost/scoped_array.hpp> +#include <memory> #ifdef _MSC_VER #pragma warning(push, 1) /* disable to __declspec(align()) aligned warning */ @@ -77,7 +77,7 @@ void ReadJPEG( JPEGReader* pJPEGReader, void* pInputStream, long* pLines, long nHeight; long nAlignedWidth; JSAMPLE* aRangeLimit; - boost::scoped_array<unsigned char> pScanLineBuffer; + std::unique_ptr<unsigned char[]> pScanLineBuffer; if ( setjmp( jerr.setjmp_buffer ) ) { |