summaryrefslogtreecommitdiff
path: root/avmedia/source/vlc
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-08-01 14:05:42 +0300
committerNoel Grandin <noelgrandin@gmail.com>2016-08-04 05:47:28 +0000
commit7f01cf67f8181836430fd3c8433e8bf2f55c95f2 (patch)
tree983d4518f878f76d5c3057313afc7f2e17d84288 /avmedia/source/vlc
parente5e7475febbca460c30eaf4959d3282688383ef2 (diff)
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/vlc')
-rw-r--r--avmedia/source/vlc/vlcframegrabber.cxx3
-rw-r--r--avmedia/source/vlc/vlcmanager.cxx3
-rw-r--r--avmedia/source/vlc/vlcplayer.cxx3
-rw-r--r--avmedia/source/vlc/vlcwindow.cxx3
4 files changed, 4 insertions, 8 deletions
diff --git a/avmedia/source/vlc/vlcframegrabber.cxx b/avmedia/source/vlc/vlcframegrabber.cxx
index 45189d7e0000..beb0ed9a84ad 100644
--- a/avmedia/source/vlc/vlcframegrabber.cxx
+++ b/avmedia/source/vlc/vlcframegrabber.cxx
@@ -126,8 +126,7 @@ sal_Bool SAL_CALL VLCFrameGrabber::supportsService( const ::rtl::OUString& servi
::uno::Sequence< ::rtl::OUString > SAL_CALL VLCFrameGrabber::getSupportedServiceNames()
throw ( css::uno::RuntimeException, std::exception )
{
- ::uno::Sequence< OUString > aRet { AVMEDIA_VLC_GRABBER_SERVICENAME };
- return aRet;
+ return { AVMEDIA_VLC_GRABBER_SERVICENAME };
}
}
diff --git a/avmedia/source/vlc/vlcmanager.cxx b/avmedia/source/vlc/vlcmanager.cxx
index 06ad14d08aed..b5819ee40004 100644
--- a/avmedia/source/vlc/vlcmanager.cxx
+++ b/avmedia/source/vlc/vlcmanager.cxx
@@ -121,8 +121,7 @@ sal_Bool SAL_CALL Manager::supportsService( const rtl::OUString& serviceName )
uno::Sequence< rtl::OUString > SAL_CALL Manager::getSupportedServiceNames()
throw (uno::RuntimeException, std::exception)
{
- ::uno::Sequence< OUString > aRet { VLC_SERVICENAME };
- return aRet;
+ return { VLC_SERVICENAME };
}
} // end namespace vlc
diff --git a/avmedia/source/vlc/vlcplayer.cxx b/avmedia/source/vlc/vlcplayer.cxx
index 6e1b3b101d73..5a9e94dedcd2 100644
--- a/avmedia/source/vlc/vlcplayer.cxx
+++ b/avmedia/source/vlc/vlcplayer.cxx
@@ -266,8 +266,7 @@ sal_Bool SAL_CALL VLCPlayer::supportsService( const ::rtl::OUString& serviceName
::uno::Sequence< ::rtl::OUString > SAL_CALL VLCPlayer::getSupportedServiceNames()
throw ( css::uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aRet { AVMEDIA_VLC_PLAYER_SERVICENAME };
- return aRet;
+ return { AVMEDIA_VLC_PLAYER_SERVICENAME };
}
}
diff --git a/avmedia/source/vlc/vlcwindow.cxx b/avmedia/source/vlc/vlcwindow.cxx
index 3105ebfec5e4..2a4ad61bb27a 100644
--- a/avmedia/source/vlc/vlcwindow.cxx
+++ b/avmedia/source/vlc/vlcwindow.cxx
@@ -103,8 +103,7 @@ sal_Bool SAL_CALL VLCWindow::supportsService( const ::rtl::OUString& serviceName
uno::Sequence< ::rtl::OUString > SAL_CALL VLCWindow::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
{
- uno::Sequence< OUString > aRet { AVMEDIA_VLC_WINDOW_SERVICENAME };
- return aRet;
+ return { AVMEDIA_VLC_WINDOW_SERVICENAME };
}
void SAL_CALL VLCWindow::dispose() throw (uno::RuntimeException, std::exception)