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/quicktime | |
parent | e5e7475febbca460c30eaf4959d3282688383ef2 (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/quicktime')
-rw-r--r-- | avmedia/source/quicktime/framegrabber.mm | 4 | ||||
-rw-r--r-- | avmedia/source/quicktime/manager.mm | 4 | ||||
-rw-r--r-- | avmedia/source/quicktime/player.mm | 4 | ||||
-rw-r--r-- | avmedia/source/quicktime/window.mm | 4 |
4 files changed, 4 insertions, 12 deletions
diff --git a/avmedia/source/quicktime/framegrabber.mm b/avmedia/source/quicktime/framegrabber.mm index 2fd457bbf092..6817af1f0798 100644 --- a/avmedia/source/quicktime/framegrabber.mm +++ b/avmedia/source/quicktime/framegrabber.mm @@ -119,9 +119,7 @@ sal_Bool SAL_CALL FrameGrabber::supportsService( const ::rtl::OUString& ServiceN uno::Sequence< ::rtl::OUString > SAL_CALL FrameGrabber::getSupportedServiceNames( ) throw (uno::RuntimeException) { - uno::Sequence<OUString> aRet { AVMEDIA_QUICKTIME_FRAMEGRABBER_SERVICENAME }; - - return aRet; + return { AVMEDIA_QUICKTIME_FRAMEGRABBER_SERVICENAME }; } } // namespace quicktime diff --git a/avmedia/source/quicktime/manager.mm b/avmedia/source/quicktime/manager.mm index 1426020a5be7..0b2ac8ded0e5 100644 --- a/avmedia/source/quicktime/manager.mm +++ b/avmedia/source/quicktime/manager.mm @@ -71,9 +71,7 @@ sal_Bool SAL_CALL Manager::supportsService( const ::rtl::OUString& ServiceName ) uno::Sequence< ::rtl::OUString > SAL_CALL Manager::getSupportedServiceNames( ) throw (uno::RuntimeException) { - uno::Sequence<OUString> aRet { AVMEDIA_QUICKTIME_MANAGER_SERVICENAME }; - - return aRet; + return { AVMEDIA_QUICKTIME_MANAGER_SERVICENAME }; } } // namespace quicktime diff --git a/avmedia/source/quicktime/player.mm b/avmedia/source/quicktime/player.mm index 0c32df1e1444..32ab8c6df393 100644 --- a/avmedia/source/quicktime/player.mm +++ b/avmedia/source/quicktime/player.mm @@ -365,9 +365,7 @@ sal_Bool SAL_CALL Player::supportsService( const ::rtl::OUString& ServiceName ) uno::Sequence< ::rtl::OUString > SAL_CALL Player::getSupportedServiceNames( ) throw (uno::RuntimeException) { - uno::Sequence<OUString> aRet { AVMEDIA_QUICKTIME_PLAYER_SERVICENAME }; - - return aRet; + return { AVMEDIA_QUICKTIME_PLAYER_SERVICENAME }; } } // namespace quicktime diff --git a/avmedia/source/quicktime/window.mm b/avmedia/source/quicktime/window.mm index 93b70c250a33..7d0db9af8efe 100644 --- a/avmedia/source/quicktime/window.mm +++ b/avmedia/source/quicktime/window.mm @@ -268,9 +268,7 @@ sal_Bool SAL_CALL Window::supportsService( const ::rtl::OUString& ServiceName ) uno::Sequence< ::rtl::OUString > SAL_CALL Window::getSupportedServiceNames( ) throw (uno::RuntimeException) { - uno::Sequence<OUString> aRet { AVMEDIA_QUICKTIME_WINDOW_SERVICENAME }; - - return aRet; + return { AVMEDIA_QUICKTIME_WINDOW_SERVICENAME }; } } // namespace quicktime |