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-09 21:20:52 +0100
commit31515f5456bf9effdf2d5750f8dacd87f483e49a (patch)
tree5cde0d06bcecf00bfc3306bddfb21777247cff26
parent225eff2e1948b294f8bd5e908b6e4ae245593ce0 (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
+}