diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-08-17 12:25:34 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-17 13:29:54 +0200 |
commit | b4092c738321cd9f9e2cba18a49519abcbd4451a (patch) | |
tree | a260b3d78c388364cdb0f4cf5410e4eb294c4880 /embeddedobj/source/commonembedding | |
parent | 1ffb614a1c7b1b693d9e78373b947ab049baa778 (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in embeddedobj and filter
Change-Id: I2da3fa1df8782e449852358d1c86f5e4bc79ea1a
Reviewed-on: https://gerrit.libreoffice.org/77627
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'embeddedobj/source/commonembedding')
-rw-r--r-- | embeddedobj/source/commonembedding/xfactory.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/embeddedobj/source/commonembedding/xfactory.cxx b/embeddedobj/source/commonembedding/xfactory.cxx index 50e926fd7867..1c0209460774 100644 --- a/embeddedobj/source/commonembedding/xfactory.cxx +++ b/embeddedobj/source/commonembedding/xfactory.cxx @@ -39,10 +39,7 @@ using namespace ::com::sun::star; uno::Sequence< OUString > OOoEmbeddedObjectFactory::impl_staticGetSupportedServiceNames() { - uno::Sequence< OUString > aRet(2); - aRet[0] = "com.sun.star.embed.OOoEmbeddedObjectFactory"; - aRet[1] = "com.sun.star.comp.embed.OOoEmbeddedObjectFactory"; - return aRet; + return { "com.sun.star.embed.OOoEmbeddedObjectFactory", "com.sun.star.comp.embed.OOoEmbeddedObjectFactory" }; } OUString OOoEmbeddedObjectFactory::impl_staticGetImplementationName() |