summaryrefslogtreecommitdiff
path: root/avmedia/source/opengl/oglplayer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/opengl/oglplayer.cxx')
-rw-r--r--avmedia/source/opengl/oglplayer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx
index df1a78d933b6..4aade3c89233 100644
--- a/avmedia/source/opengl/oglplayer.cxx
+++ b/avmedia/source/opengl/oglplayer.cxx
@@ -356,8 +356,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(1);
- aRet[0] = "com.sun.star.media.Player_OpenGL";
+ uno::Sequence< OUString > aRet { "com.sun.star.media.Player_OpenGL" };
return aRet;
}