diff options
Diffstat (limited to 'vcl/source/outdev/transparent.cxx')
-rw-r--r-- | vcl/source/outdev/transparent.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/outdev/transparent.cxx b/vcl/source/outdev/transparent.cxx index 5d71838acde6..8cd2b6a44527 100644 --- a/vcl/source/outdev/transparent.cxx +++ b/vcl/source/outdev/transparent.cxx @@ -22,7 +22,7 @@ #include <sal/types.h> #include <basegfx/matrix/b2dhommatrixtools.hxx> -#include <boost/scoped_array.hpp> +#include <memory> #include <vcl/bmpacc.hxx> #include <vcl/outdev.hxx> @@ -182,8 +182,8 @@ void OutputDevice::ImplPrintTransparent( const Bitmap& rBmp, const Bitmap& rMask // do painting const long nSrcWidth = aSrcRect.GetWidth(), nSrcHeight = aSrcRect.GetHeight(); long nX, nY; // , nWorkX, nWorkY, nWorkWidth, nWorkHeight; - boost::scoped_array<long> pMapX(new long[ nSrcWidth + 1 ]); - boost::scoped_array<long> pMapY(new long[ nSrcHeight + 1 ]); + std::unique_ptr<long[]> pMapX(new long[ nSrcWidth + 1 ]); + std::unique_ptr<long[]> pMapY(new long[ nSrcHeight + 1 ]); const bool bOldMap = mbMap; mbMap = false; |