diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2016-08-01 14:05:42 +0300 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-04 05:47:28 +0000 |
commit | 7f01cf67f8181836430fd3c8433e8bf2f55c95f2 (patch) | |
tree | 983d4518f878f76d5c3057313afc7f2e17d84288 /avmedia/source/opengl | |
parent | loplugin:countusersofdefaultparams in basctl..basic (diff) | |
download | core-7f01cf67f8181836430fd3c8433e8bf2f55c95f2.tar.gz core-7f01cf67f8181836430fd3c8433e8bf2f55c95f2.zip |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'avmedia/source/opengl')
-rw-r--r-- | avmedia/source/opengl/oglframegrabber.cxx | 3 | ||||
-rw-r--r-- | avmedia/source/opengl/oglmanager.cxx | 3 | ||||
-rw-r--r-- | avmedia/source/opengl/oglplayer.cxx | 3 | ||||
-rw-r--r-- | avmedia/source/opengl/oglwindow.cxx | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/avmedia/source/opengl/oglframegrabber.cxx b/avmedia/source/opengl/oglframegrabber.cxx index 3b71b23c87f1..9cb7ddd31416 100644 --- a/avmedia/source/opengl/oglframegrabber.cxx +++ b/avmedia/source/opengl/oglframegrabber.cxx @@ -63,8 +63,7 @@ sal_Bool SAL_CALL OGLFrameGrabber::supportsService( const OUString& rServiceName uno::Sequence< OUString > SAL_CALL OGLFrameGrabber::getSupportedServiceNames() throw ( uno::RuntimeException, std::exception ) { - uno::Sequence< OUString > aRet { "com.sun.star.media.FrameGrabber_OpenGL" }; - return aRet; + return { "com.sun.star.media.FrameGrabber_OpenGL" }; } } // namespace ogl diff --git a/avmedia/source/opengl/oglmanager.cxx b/avmedia/source/opengl/oglmanager.cxx index b34c51a75f78..0e538373fc5a 100644 --- a/avmedia/source/opengl/oglmanager.cxx +++ b/avmedia/source/opengl/oglmanager.cxx @@ -53,8 +53,7 @@ sal_Bool SAL_CALL OGLManager::supportsService( const OUString& rServiceName ) uno::Sequence< OUString > SAL_CALL OGLManager::getSupportedServiceNames() throw ( uno::RuntimeException, std::exception ) { - ::uno::Sequence< OUString > aRet { "com.sun.star.media.Manager_OpenGL" }; - return aRet; + return { "com.sun.star.media.Manager_OpenGL" }; } } // namespace ogl diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx index 61a980990bf1..4077e3b014d0 100644 --- a/avmedia/source/opengl/oglplayer.cxx +++ b/avmedia/source/opengl/oglplayer.cxx @@ -355,8 +355,7 @@ sal_Bool SAL_CALL OGLPlayer::supportsService( const OUString& rServiceName ) uno::Sequence< OUString > SAL_CALL OGLPlayer::getSupportedServiceNames() throw ( uno::RuntimeException, std::exception ) { - uno::Sequence< OUString > aRet { "com.sun.star.media.Player_OpenGL" }; - return aRet; + return { "com.sun.star.media.Player_OpenGL" }; } IMPL_LINK_TYPED(OGLPlayer,TimerHandler,Timer*,pTimer,void) 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) |