summaryrefslogtreecommitdiff
path: root/svtools/source/graphic/renderer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/graphic/renderer.cxx')
-rw-r--r--svtools/source/graphic/renderer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/graphic/renderer.cxx b/svtools/source/graphic/renderer.cxx
index 593f8e12b504..d717522fb223 100644
--- a/svtools/source/graphic/renderer.cxx
+++ b/svtools/source/graphic/renderer.cxx
@@ -123,8 +123,7 @@ sal_Bool SAL_CALL GraphicRendererVCL::supportsService( const OUString& ServiceNa
uno::Sequence< OUString > SAL_CALL GraphicRendererVCL::getSupportedServiceNames()
throw( uno::RuntimeException, std::exception )
{
- uno::Sequence< OUString > aSeq( 1 );
- aSeq.getArray()[ 0 ] = "com.sun.star.graphic.GraphicRendererVCL";
+ uno::Sequence<OUString> aSeq { "com.sun.star.graphic.GraphicRendererVCL" };
return aSeq;
}