summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-08-13 08:49:30 +0200
committerTomaž Vajngerl <quikee@gmail.com>2020-08-15 17:13:55 +0200
commit51599676667b2b6e81e51fc321a19033a3094773 (patch)
treec35dbbfd3f79a648f59bb38ad5c5c8de96f5112b /avmedia
parentf3872785bd182e47ef9530770fb635d7e79e3f59 (diff)
remove constructor with plain Bitmap from Graphic, use BitmapEx
Change-Id: Ie429a10a8f54c6779d437ee4bc75a5ea0c427848 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100727 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/win/framegrabber.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/avmedia/source/win/framegrabber.cxx b/avmedia/source/win/framegrabber.cxx
index 3b03c68e4e67..4fd0d8b519b2 100644
--- a/avmedia/source/win/framegrabber.cxx
+++ b/avmedia/source/win/framegrabber.cxx
@@ -183,7 +183,8 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe
if( ReadDIB(aBmp, aMemStm, false ) && !aBmp.IsEmpty() )
{
- const Graphic aGraphic( aBmp );
+ BitmapEx aBitmapEx(aBmp);
+ Graphic aGraphic(aBitmapEx);
xRet = aGraphic.GetXGraphic();
}
}