summaryrefslogtreecommitdiff
path: root/avmedia/source/vlc/vlcplayer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/vlc/vlcplayer.cxx')
-rw-r--r--avmedia/source/vlc/vlcplayer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/avmedia/source/vlc/vlcplayer.cxx b/avmedia/source/vlc/vlcplayer.cxx
index f20bd612ac8b..6e1b3b101d73 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(1);
- aRet[0] = AVMEDIA_VLC_PLAYER_SERVICENAME;
+ uno::Sequence< OUString > aRet { AVMEDIA_VLC_PLAYER_SERVICENAME };
return aRet;
}