summaryrefslogtreecommitdiff
path: root/include/test
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-08-17 18:52:37 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-17 20:10:43 +0200
commit7d3041beb90de4f3495addf139463860049740fb (patch)
tree17173e099d5d9ff44f6734ab20b9cfd5145fbb27 /include/test
parente6196c6c9c85bdf446899a50da81adbfb7037d85 (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in hwpfilter, include/test, io, linguistic, oox, pyuno, reportdesign Change-Id: I5c265c4fde85dd6d7faab8ae82809c4a0e6dd69b Reviewed-on: https://gerrit.libreoffice.org/77646 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'include/test')
-rw-r--r--include/test/testinteractionhandler.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/test/testinteractionhandler.hxx b/include/test/testinteractionhandler.hxx
index 5e871c68af12..8d63b7ae9546 100644
--- a/include/test/testinteractionhandler.hxx
+++ b/include/test/testinteractionhandler.hxx
@@ -57,13 +57,11 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
- css::uno::Sequence<OUString> aNames(3);
- aNames[0] = "com.sun.star.task.InteractionHandler";
+ return { "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";
+ "com.sun.star.configuration.backend.InteractionHandler",
// for backwards compatibility
- return aNames;
+ "com.sun.star.uui.InteractionHandler" };
}
virtual void SAL_CALL initialize(css::uno::Sequence<css::uno::Any> const & /*rArguments*/) override