diff options
Diffstat (limited to 'vcl/source/gdi/pngread.cxx')
-rw-r--r-- | vcl/source/gdi/pngread.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx index f4bdbf8ae9bc..a3f449b4f8ab 100644 --- a/vcl/source/gdi/pngread.cxx +++ b/vcl/source/gdi/pngread.cxx @@ -35,7 +35,6 @@ #include <vcl/svapp.hxx> #include <vcl/alpha.hxx> #include <osl/endian.h> -#include <o3tl/make_unique.hxx> #include <bitmapwriteaccess.hxx> namespace vcl @@ -666,14 +665,14 @@ bool PNGReaderImpl::ImplReadHeader( const Size& rPreviewSizeHint ) if ( !mpInflateInBuf || !mpScanPrior ) return false; - mpBmp = o3tl::make_unique<Bitmap>( maTargetSize, mnTargetDepth ); + mpBmp = std::make_unique<Bitmap>( maTargetSize, mnTargetDepth ); mxAcc = BitmapScopedWriteAccess(*mpBmp); if (!mxAcc) return false; if ( mbAlphaChannel ) { - mpAlphaMask = o3tl::make_unique<AlphaMask>( maTargetSize ); + mpAlphaMask = std::make_unique<AlphaMask>( maTargetSize ); mpAlphaMask->Erase( 128 ); mxAlphaAcc = AlphaScopedWriteAccess(*mpAlphaMask); mpMaskAcc = mxAlphaAcc.get(); @@ -791,13 +790,13 @@ bool PNGReaderImpl::ImplReadTransparent() { if( bNeedAlpha) { - mpAlphaMask = o3tl::make_unique<AlphaMask>( maTargetSize ); + mpAlphaMask = std::make_unique<AlphaMask>( maTargetSize ); mxAlphaAcc = AlphaScopedWriteAccess(*mpAlphaMask); mpMaskAcc = mxAlphaAcc.get(); } else { - mpMaskBmp = o3tl::make_unique<Bitmap>( maTargetSize, 1 ); + mpMaskBmp = std::make_unique<Bitmap>( maTargetSize, 1 ); mxMaskAcc = BitmapScopedWriteAccess(*mpMaskBmp); mpMaskAcc = mxMaskAcc.get(); } |