summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/xpackcreator.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-08-17 20:32:59 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-17 22:16:31 +0200
commitcc70a9dec7730661aacd5fe7ed62f0a29ebf1084 (patch)
tree840ae6e913a7e810951b2348c8bfd3909b881c8e /sfx2/source/appl/xpackcreator.cxx
parent7990680e92e4fba376ef4f9346d1bc53661bde30 (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in sfx2, stoc Change-Id: I7138f702317d0e693438216732bf181f1972cdc1 Reviewed-on: https://gerrit.libreoffice.org/77648 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sfx2/source/appl/xpackcreator.cxx')
-rw-r--r--sfx2/source/appl/xpackcreator.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/source/appl/xpackcreator.cxx b/sfx2/source/appl/xpackcreator.cxx
index 2434cabbef7c..607d4f0993cd 100644
--- a/sfx2/source/appl/xpackcreator.cxx
+++ b/sfx2/source/appl/xpackcreator.cxx
@@ -158,10 +158,7 @@ sal_Bool SAL_CALL OPackageStructureCreator::supportsService( const OUString& Ser
uno::Sequence< OUString > SAL_CALL OPackageStructureCreator::getSupportedServiceNames()
{
- uno::Sequence< OUString > aRet(2);
- aRet[0] = "com.sun.star.embed.PackageStructureCreator";
- aRet[1] = "com.sun.star.comp.embed.PackageStructureCreator";
- return aRet;
+ return { "com.sun.star.embed.PackageStructureCreator", "com.sun.star.comp.embed.PackageStructureCreator" };
}
}