diff options
Diffstat (limited to 'avmedia/source/gstreamer/gstframegrabber.cxx')
-rw-r--r-- | avmedia/source/gstreamer/gstframegrabber.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/avmedia/source/gstreamer/gstframegrabber.cxx b/avmedia/source/gstreamer/gstframegrabber.cxx index 17ca6b43f90a..cd2eadf9e9a8 100644 --- a/avmedia/source/gstreamer/gstframegrabber.cxx +++ b/avmedia/source/gstreamer/gstframegrabber.cxx @@ -218,8 +218,7 @@ sal_Bool SAL_CALL FrameGrabber::supportsService( const OUString& ServiceName ) uno::Sequence< OUString > SAL_CALL FrameGrabber::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) { - uno::Sequence< OUString > aRet(1); - aRet[0] = AVMEDIA_GST_FRAMEGRABBER_SERVICENAME; + uno::Sequence< OUString > aRet { AVMEDIA_GST_FRAMEGRABBER_SERVICENAME }; return aRet; } |