avmedia/source/vlc/vlcframegrabber.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 31515f5456bf9effdf2d5750f8dacd87f483e49a Author: Michael Meeks <michael.me...@suse.com> Date: Tue Jul 9 21:20:52 2013 +0100 don't return an UNO reference to a temporary stack object. Change-Id: I0b64d6181884d416d690a936017e6e0725360d56 diff --git a/avmedia/source/vlc/vlcframegrabber.cxx b/avmedia/source/vlc/vlcframegrabber.cxx index 11151b6..4cf9866 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 +} _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits