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