diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-08-18 09:45:11 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-18 10:34:30 +0200 |
commit | 52e086c336cc52dcea410f0c3b8ada8439ebe969 (patch) | |
tree | 1dcbb2d16b3e228cee0522bcf224fd37f80d9865 /sd/source/ui/unoidl/unocpres.cxx | |
parent | b49f189d9bfb0b5dca5ac259e6f56b49c2d0d08f (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in sc, sd
Change-Id: Id32e76ad37000084b99781e87428ed2c23ef02a6
Reviewed-on: https://gerrit.libreoffice.org/77657
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sd/source/ui/unoidl/unocpres.cxx')
-rw-r--r-- | sd/source/ui/unoidl/unocpres.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sd/source/ui/unoidl/unocpres.cxx b/sd/source/ui/unoidl/unocpres.cxx index 6d17695de596..43cceb0dae39 100644 --- a/sd/source/ui/unoidl/unocpres.cxx +++ b/sd/source/ui/unoidl/unocpres.cxx @@ -73,9 +73,7 @@ sal_Bool SAL_CALL SdXCustomPresentation::supportsService( const OUString& Servic uno::Sequence< OUString > SAL_CALL SdXCustomPresentation::getSupportedServiceNames() { - OUString aSN( "com.sun.star.presentation.CustomPresentation" ); - uno::Sequence< OUString > aSeq( &aSN, 1 ); - return aSeq; + return { "com.sun.star.presentation.CustomPresentation" }; } // XIndexContainer @@ -284,9 +282,7 @@ sal_Bool SAL_CALL SdXCustomPresentationAccess::supportsService( const OUString& uno::Sequence< OUString > SAL_CALL SdXCustomPresentationAccess::getSupportedServiceNames() { - const OUString aNS( "com.sun.star.presentation.CustomPresentationAccess" ); - uno::Sequence< OUString > aSeq( &aNS, 1 ); - return aSeq; + return { "com.sun.star.presentation.CustomPresentationAccess" }; } // XSingleServiceFactory |