diff options
author | Mesut Çifci <mesutcifci97@gmail.com> | 2020-01-15 11:33:29 +0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-01-15 14:54:39 +0100 |
commit | b8f02637131fcfa499a6397914fdf4687c88053d (patch) | |
tree | 24e88369d50dbb2ed519d99f6e06dc8c104d455b /svtools/source/uno/unoevent.cxx | |
parent | 15abfe9ae976a0d940725cdd570facc372981393 (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Ib58c66590c60175d7984af55d23b7c55a6a2383e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86828
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools/source/uno/unoevent.cxx')
-rw-r--r-- | svtools/source/uno/unoevent.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svtools/source/uno/unoevent.cxx b/svtools/source/uno/unoevent.cxx index 42a07bafb831..9b1ffe41bf2a 100644 --- a/svtools/source/uno/unoevent.cxx +++ b/svtools/source/uno/unoevent.cxx @@ -317,9 +317,7 @@ sal_Bool SvBaseEventDescriptor::supportsService(const OUString& rServiceName) Sequence<OUString> SvBaseEventDescriptor::getSupportedServiceNames() { - Sequence<OUString> aSequence { sAPI_ServiceName }; - - return aSequence; + return { sAPI_ServiceName }; } SvMacroItemId SvBaseEventDescriptor::mapNameToEventID(const OUString& rName) const |