diff options
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx b/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx index a87619bd7eee..70cae59dffdd 100644 --- a/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx +++ b/drawinglayer/source/drawinglayeruno/xprimitive2drenderer.cxx @@ -82,9 +82,7 @@ namespace drawinglayer { uno::Sequence< OUString > XPrimitive2DRenderer_getSupportedServiceNames() { - OUString aServiceName("com.sun.star.graphic.Primitive2DTools" ); - uno::Sequence< OUString > aServiceNames( &aServiceName, 1 ); - return aServiceNames; + return uno::Sequence< OUString > { "com.sun.star.graphic.Primitive2DTools" }; } OUString XPrimitive2DRenderer_getImplementationName() |