summaryrefslogtreecommitdiff
path: root/avmedia/source/opengl/oglmanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/opengl/oglmanager.cxx')
-rw-r--r--avmedia/source/opengl/oglmanager.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/avmedia/source/opengl/oglmanager.cxx b/avmedia/source/opengl/oglmanager.cxx
index 1c329eb0a3ad..d17f7ac498b5 100644
--- a/avmedia/source/opengl/oglmanager.cxx
+++ b/avmedia/source/opengl/oglmanager.cxx
@@ -55,8 +55,7 @@ sal_Bool SAL_CALL OGLManager::supportsService( const OUString& rServiceName )
uno::Sequence< OUString > SAL_CALL OGLManager::getSupportedServiceNames()
throw ( uno::RuntimeException, std::exception )
{
- ::uno::Sequence< OUString > aRet(1);
- aRet[0] = "com.sun.star.media.Manager_OpenGL";
+ ::uno::Sequence< OUString > aRet { "com.sun.star.media.Manager_OpenGL" };
return aRet;
}