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 48ac3730956a..2b77d3543afa 100644 --- a/vcl/source/outdev/bitmap.cxx +++ b/vcl/source/outdev/bitmap.cxx @@ -32,7 +32,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 ) { @@ -698,11 +698,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) @@ -870,8 +870,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) |