diff options
author | Izabela Bakollari <izabela.bakollari@gmail.com> | 2018-10-27 13:33:55 +0200 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@libreoffice.org> | 2018-10-27 17:54:49 +0200 |
commit | 48dbd2bc121764c076fdb45e5e9236126a6eec30 (patch) | |
tree | 02f44afa1299192245bea946f4ea374261d4d72a /sd | |
parent | 129d1fe9fdb448a764f6c181705a61d4db321904 (diff) |
tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Ifc9fcc718b318c439484a6cc98a4e71c8d445fd8
Reviewed-on: https://gerrit.libreoffice.org/62417
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
Tested-by: Jenkins
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unodoc.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sd/source/ui/unoidl/unodoc.cxx b/sd/source/ui/unoidl/unodoc.cxx index 263d24b1dd31..e6e09a23d9c5 100644 --- a/sd/source/ui/unoidl/unodoc.cxx +++ b/sd/source/ui/unoidl/unodoc.cxx @@ -66,11 +66,10 @@ OUString SdPresentationDocument_getImplementationName() uno::Sequence< OUString > SdPresentationDocument_getSupportedServiceNames() { - uno::Sequence< OUString > aSeq( 2 ); - aSeq[0] = "com.sun.star.drawing.DrawingDocumentFactory"; - aSeq[1] = "com.sun.star.presentation.PresentationDocument"; - - return aSeq; + return uno::Sequence<OUString>{ + "com.sun.star.drawing.DrawingDocumentFactory", + "com.sun.star.presentation.PresentationDocument" + }; } uno::Reference< uno::XInterface > SdPresentationDocument_createInstance( |