From 7f01cf67f8181836430fd3c8433e8bf2f55c95f2 Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Mon, 1 Aug 2016 14:05:42 +0300 Subject: tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor in SoundHandler, FrameGrabber, Manager, MissingPluginInstaller, and several classes in 'avmedia' module. Change-Id: I9ab42d2ef95f3b0c724a7be9eb9e2389336a6f38 Reviewed-on: https://gerrit.libreoffice.org/27777 Tested-by: Jenkins Reviewed-by: Noel Grandin --- avmedia/source/opengl/oglwindow.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'avmedia/source/opengl/oglwindow.cxx') diff --git a/avmedia/source/opengl/oglwindow.cxx b/avmedia/source/opengl/oglwindow.cxx index a9ef414a55f3..5c08d74df4d2 100644 --- a/avmedia/source/opengl/oglwindow.cxx +++ b/avmedia/source/opengl/oglwindow.cxx @@ -70,8 +70,7 @@ sal_Bool SAL_CALL OGLWindow::supportsService( const OUString& rServiceName ) thr uno::Sequence< OUString > SAL_CALL OGLWindow::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) { - uno::Sequence< OUString > aRet { "com.sun.star.media.Window_OpenGL" }; - return aRet; + return { "com.sun.star.media.Window_OpenGL" }; } void SAL_CALL OGLWindow::dispose() throw (uno::RuntimeException, std::exception) -- cgit