summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-08-17 11:39:47 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-17 12:26:15 +0200
commit3d24130986e6a0e1baa2cff61309f0f42cf0c339 (patch)
tree9f35ddcbcc78b5e15fe2b5b2c4d4613ccdfa35ae /svtools
parent1d08f0f215dcf5fec9390bd9c84357bc96a9338a (diff)
Use simplified syntax for Sequence
Change-Id: I92ac60fafcc404439c101d1950ed214fce140c91 Reviewed-on: https://gerrit.libreoffice.org/77621 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/renderer.cxx2
-rw-r--r--svtools/source/hatchwindow/documentcloser.cxx2
-rw-r--r--svtools/source/hatchwindow/hatchwindowfactory.cxx5
3 files changed, 3 insertions, 6 deletions
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<OUString>{"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<OUString>{
- "com.sun.star.embed.HatchWindowFactory",
- "com.sun.star.comp.embed.HatchWindowFactory"
- };
+ return { "com.sun.star.embed.HatchWindowFactory", "com.sun.star.comp.embed.HatchWindowFactory" };
}
}