summaryrefslogtreecommitdiff
path: root/avmedia/source/gstreamer/gstwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/gstreamer/gstwindow.cxx')
-rw-r--r--avmedia/source/gstreamer/gstwindow.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/avmedia/source/gstreamer/gstwindow.cxx b/avmedia/source/gstreamer/gstwindow.cxx
index bee5f0a7ff0c..fc2a8ee54032 100644
--- a/avmedia/source/gstreamer/gstwindow.cxx
+++ b/avmedia/source/gstreamer/gstwindow.cxx
@@ -234,8 +234,7 @@ sal_Bool SAL_CALL Window::supportsService( const OUString& ServiceName )
uno::Sequence< OUString > SAL_CALL Window::getSupportedServiceNames( )
throw (uno::RuntimeException, std::exception)
{
- uno::Sequence< OUString > aRet(1);
- aRet[0] = AVMEDIA_GST_WINDOW_SERVICENAME ;
+ uno::Sequence<OUString> aRet { AVMEDIA_GST_WINDOW_SERVICENAME };
return aRet;
}