diff options
Diffstat (limited to 'vcl/source/outdev/bitmap.cxx')
-rw-r--r-- | vcl/source/outdev/bitmap.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx index 6a213d005737..34f95990ed1a 100644 --- a/vcl/source/outdev/bitmap.cxx +++ b/vcl/source/outdev/bitmap.cxx @@ -34,7 +34,7 @@ #include <image.h> #include <basegfx/matrix/b2dhommatrixtools.hxx> -#include <boost/scoped_array.hpp> +#include <memory> void OutputDevice::DrawBitmap( const Point& rDestPt, const Bitmap& rBitmap ) { @@ -703,11 +703,11 @@ namespace struct LinearScaleContext { - boost::scoped_array<long> mpMapX; - boost::scoped_array<long> mpMapY; + std::unique_ptr<long[]> mpMapX; + std::unique_ptr<long[]> mpMapY; - boost::scoped_array<long> mpMapXOffset; - boost::scoped_array<long> mpMapYOffset; + std::unique_ptr<long[]> mpMapXOffset; + std::unique_ptr<long[]> mpMapYOffset; LinearScaleContext(Rectangle& aDstRect, Rectangle& aBitmapRect, Size& aOutSize, long nOffX, long nOffY) @@ -877,8 +877,8 @@ public: struct TradScaleContext { - boost::scoped_array<long> mpMapX; - boost::scoped_array<long> mpMapY; + std::unique_ptr<long[]> mpMapX; + std::unique_ptr<long[]> mpMapY; TradScaleContext(Rectangle& aDstRect, Rectangle& aBitmapRect, Size& aOutSize, long nOffX, long nOffY) |