[Libreoffice-commits] core.git: sd/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Oct 27 15:55:09 UTC 2018
sd/source/ui/unoidl/unodoc.cxx | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
New commits:
commit 48dbd2bc121764c076fdb45e5e9236126a6eec30
Author: Izabela Bakollari <izabela.bakollari at gmail.com>
AuthorDate: Sat Oct 27 13:33:55 2018 +0200
Commit: Björn Michaelsen <bjoern.michaelsen at libreoffice.org>
CommitDate: Sat Oct 27 17:54:49 2018 +0200
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 at libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand at cib.de>
Tested-by: Jenkins
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(
More information about the Libreoffice-commits
mailing list