summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorMesut Çifci <mesutcifci97@gmail.com>2020-01-13 03:35:14 +0300
committerStephan Bergmann <sbergman@redhat.com>2020-01-13 10:48:02 +0100
commitc4f0c87b2f4ac68accc202731e0328ab101a073e (patch)
tree61637ddab237cbb5fc302213bff8c5c07e2244e8 /stoc
parente111483bddecff4e874ad298f762cac42a010610 (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: I1c1e7b42211c51f572698efd3135e388f8fb2979 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86648 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/implementationregistration/implreg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx
index 730dd7febdd8..dc21f55663c3 100644
--- a/stoc/source/implementationregistration/implreg.cxx
+++ b/stoc/source/implementationregistration/implreg.cxx
@@ -1127,8 +1127,7 @@ sal_Bool ImplementationRegistration::supportsService(const OUString& ServiceName
// XServiceInfo
Sequence< OUString > ImplementationRegistration::getSupportedServiceNames()
{
- Sequence< OUString > seqNames { "com.sun.star.registry.ImplementationRegistration" };
- return seqNames;
+ return { "com.sun.star.registry.ImplementationRegistration" };
}
Reference< XSimpleRegistry > ImplementationRegistration::getRegistryFromServiceManager() const