summaryrefslogtreecommitdiffstats
path: root/avmedia/source/win/framegrabber.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/win/framegrabber.cxx')
-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();
}
}