summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-07-09 21:20:52 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-07-26 07:11:50 +0100
commitbdb0d5c3e0d4a47c8863608641ff18dbacfdfe46 (patch)
tree07b1973d9abeb39911e2d38dba014fad595024c8
parent5a3973e6f99356cbc8a5cc65b63cccebfa99ec53 (diff)
don't return an UNO reference to a temporary stack object.
Change-Id: I0b64d6181884d416d690a936017e6e0725360d56
-rw-r--r--avmedia/source/vlc/vlcframegrabber.cxx4
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
+}