summaryrefslogtreecommitdiff
path: root/avmedia/source/macavf/player.mm
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/macavf/player.mm')
-rw-r--r--avmedia/source/macavf/player.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/avmedia/source/macavf/player.mm b/avmedia/source/macavf/player.mm
index 81a5329cf01e..bbe9bf373e09 100644
--- a/avmedia/source/macavf/player.mm
+++ b/avmedia/source/macavf/player.mm
@@ -426,8 +426,7 @@ sal_Bool SAL_CALL Player::supportsService( const ::rtl::OUString& ServiceName )
uno::Sequence< ::rtl::OUString > SAL_CALL Player::getSupportedServiceNames( )
throw (uno::RuntimeException)
{
- uno::Sequence< ::rtl::OUString > aRet(1);
- aRet[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( AVMEDIA_MACAVF_PLAYER_SERVICENAME ) );
+ uno::Sequence< ::rtl::OUString > aRet { AVMEDIA_MACAVF_PLAYER_SERVICENAME };
return aRet;
}