summaryrefslogtreecommitdiff
path: root/sfx2/source/doc
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/doc
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/doc')
-rw-r--r--sfx2/source/doc/ownsubfilterservice.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/source/doc/ownsubfilterservice.cxx b/sfx2/source/doc/ownsubfilterservice.cxx
index abe4b5c63c44..598ff03bc18e 100644
--- a/sfx2/source/doc/ownsubfilterservice.cxx
+++ b/sfx2/source/doc/ownsubfilterservice.cxx
@@ -106,10 +106,7 @@ sal_Bool SAL_CALL OwnSubFilterService::supportsService( const OUString& ServiceN
uno::Sequence< OUString > SAL_CALL OwnSubFilterService::getSupportedServiceNames()
{
- uno::Sequence< OUString > aRet(2);
- aRet[0] = "com.sun.star.document.OwnSubFilter";
- aRet[1] = "com.sun.star.comp.document.OwnSubFilter";
- return aRet;
+ return { "com.sun.star.document.OwnSubFilter", "com.sun.star.comp.document.OwnSubFilter" };
}
}