diff options
Diffstat (limited to 'avmedia/source/win/framegrabber.cxx')
-rw-r--r-- | avmedia/source/win/framegrabber.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/win/framegrabber.cxx b/avmedia/source/win/framegrabber.cxx index fb0369d7c8cc..9b6e755f93e7 100644 --- a/avmedia/source/win/framegrabber.cxx +++ b/avmedia/source/win/framegrabber.cxx @@ -173,7 +173,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe SUCCEEDED( pDet->GetBitmapBits( 0, &nSize, nullptr, nWidth, nHeight ) ) && ( nSize > 0 ) ) { - auto pBuffer = std::unique_ptr<char[]>(new char[ nSize ]); + auto pBuffer = std::make_unique<char[]>(nSize); try { |