diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-07-09 21:20:52 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-07-26 10:50:22 +0100 |
commit | 5b67ee9c432745119f9c9740f88a3da17280e4b6 (patch) | |
tree | d8307782ca0aa57b649fde30962748dc1f224162 /avmedia | |
parent | 054c2b6a51faac2b6c32c02f567a496537a15555 (diff) |
don't return an UNO reference to a temporary stack object.
Change-Id: I0b64d6181884d416d690a936017e6e0725360d56
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/vlc/vlcframegrabber.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/vlc/vlcframegrabber.cxx b/avmedia/source/vlc/vlcframegrabber.cxx index 11151b6a6926..4cf986642236 100644 --- a/avmedia/source/vlc/vlcframegrabber.cxx +++ b/avmedia/source/vlc/vlcframegrabber.cxx @@ -15,7 +15,7 @@ SAL_CALL VLCFrameGrabber::VLCFrameGrabber() ::uno::Reference< css::graphic::XGraphic > SAL_CALL VLCFrameGrabber::grabFrame( double fMediaTime ) { - return Graphic().GetXGraphic(); + return ::uno::Reference< css::graphic::XGraphic >(); } ::rtl::OUString SAL_CALL VLCFrameGrabber::getImplementationName() @@ -36,4 +36,4 @@ SAL_CALL VLCFrameGrabber::VLCFrameGrabber() } } -}
\ No newline at end of file +} |