From 3d24130986e6a0e1baa2cff61309f0f42cf0c339 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 17 Aug 2019 11:39:47 +0200 Subject: Use simplified syntax for Sequence Change-Id: I92ac60fafcc404439c101d1950ed214fce140c91 Reviewed-on: https://gerrit.libreoffice.org/77621 Tested-by: Jenkins Reviewed-by: Julien Nabet --- svtools/source/graphic/renderer.cxx | 2 +- svtools/source/hatchwindow/documentcloser.cxx | 2 +- svtools/source/hatchwindow/hatchwindowfactory.cxx | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'svtools') diff --git a/svtools/source/graphic/renderer.cxx b/svtools/source/graphic/renderer.cxx index 655e07ef72d5..05716d1dbcab 100644 --- a/svtools/source/graphic/renderer.cxx +++ b/svtools/source/graphic/renderer.cxx @@ -151,7 +151,7 @@ sal_Bool SAL_CALL GraphicRendererVCL::supportsService( const OUString& ServiceNa uno::Sequence< OUString > SAL_CALL GraphicRendererVCL::getSupportedServiceNames() { - return uno::Sequence{"com.sun.star.graphic.GraphicRendererVCL" }; + return { "com.sun.star.graphic.GraphicRendererVCL" }; } diff --git a/svtools/source/hatchwindow/documentcloser.cxx b/svtools/source/hatchwindow/documentcloser.cxx index 58d4f4ecbd96..1c2de038e6e9 100644 --- a/svtools/source/hatchwindow/documentcloser.cxx +++ b/svtools/source/hatchwindow/documentcloser.cxx @@ -220,7 +220,7 @@ sal_Bool SAL_CALL ODocumentCloser::supportsService( const OUString& ServiceName uno::Sequence< OUString > SAL_CALL ODocumentCloser::getSupportedServiceNames() { - return uno::Sequence< OUString > { "com.sun.star.embed.DocumentCloser" }; + return { "com.sun.star.embed.DocumentCloser" }; } } diff --git a/svtools/source/hatchwindow/hatchwindowfactory.cxx b/svtools/source/hatchwindow/hatchwindowfactory.cxx index 9bd711d18b51..e8ab0064cc45 100644 --- a/svtools/source/hatchwindow/hatchwindowfactory.cxx +++ b/svtools/source/hatchwindow/hatchwindowfactory.cxx @@ -74,10 +74,7 @@ sal_Bool SAL_CALL OHatchWindowFactory::supportsService( const OUString& ServiceN uno::Sequence< OUString > SAL_CALL OHatchWindowFactory::getSupportedServiceNames() { - return uno::Sequence{ - "com.sun.star.embed.HatchWindowFactory", - "com.sun.star.comp.embed.HatchWindowFactory" - }; + return { "com.sun.star.embed.HatchWindowFactory", "com.sun.star.comp.embed.HatchWindowFactory" }; } } -- cgit