diff options
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( |