diff options
Diffstat (limited to 'vcl/source/filter/jpeg/Exif.cxx')
-rw-r--r-- | vcl/source/filter/jpeg/Exif.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/filter/jpeg/Exif.cxx b/vcl/source/filter/jpeg/Exif.cxx index fc59664192cb..14f3ca4319bf 100644 --- a/vcl/source/filter/jpeg/Exif.cxx +++ b/vcl/source/filter/jpeg/Exif.cxx @@ -18,7 +18,7 @@ */ #include "Exif.hxx" -#include <boost/scoped_array.hpp> +#include <memory> Exif::Exif() : maOrientation(TOP_LEFT), @@ -208,7 +208,7 @@ bool Exif::processExif(SvStream& rStream, sal_uInt16 aSectionLength, bool bSetVa sal_uInt16 aLength = aSectionLength - 6; // Length = Section - Header - boost::scoped_array<sal_uInt8> aExifData(new sal_uInt8[aLength]); + std::unique_ptr<sal_uInt8[]> aExifData(new sal_uInt8[aLength]); sal_uInt32 aExifDataBeginPosition = rStream.Tell(); rStream.Read(aExifData.get(), aLength); |