summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-08-18 13:38:16 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-18 14:32:56 +0200
commit51a30d7daee8779ef51d8db58559e4fe15665d1b (patch)
tree8efb87b20e93652410be2dec96c00ce4f818f0ee /uui
parented128e17e7f090af06dfe5776a238c40f3a68fc9 (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in uui, xmlhelp Change-Id: I588ed4154e6b21e178f2466c58abc08562eddf80 Reviewed-on: https://gerrit.libreoffice.org/77663 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'uui')
-rw-r--r--uui/source/interactionhandler.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/uui/source/interactionhandler.cxx b/uui/source/interactionhandler.cxx
index 71286345a177..df06d4ea1d0e 100644
--- a/uui/source/interactionhandler.cxx
+++ b/uui/source/interactionhandler.cxx
@@ -91,13 +91,11 @@ UUIInteractionHandler::supportsService(OUString const & rServiceName)
uno::Sequence< OUString > SAL_CALL
UUIInteractionHandler::getSupportedServiceNames()
{
- uno::Sequence< OUString > aNames(3);
- aNames[0] = "com.sun.star.task.InteractionHandler";
- // added to indicate support for configuration.backend.MergeRecoveryRequest
- aNames[1] = "com.sun.star.configuration.backend.InteractionHandler";
- aNames[2] = "com.sun.star.uui.InteractionHandler";
+ return { "com.sun.star.task.InteractionHandler",
+ // added to indicate support for configuration.backend.MergeRecoveryRequest
+ "com.sun.star.configuration.backend.InteractionHandler",
// for backwards compatibility
- return aNames;
+ "com.sun.star.uui.InteractionHandler" };
}
void SAL_CALL