diff options
Diffstat (limited to 'svx/source/unogallery/unogalthemeprovider.cxx')
-rw-r--r-- | svx/source/unogallery/unogalthemeprovider.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/unogallery/unogalthemeprovider.cxx b/svx/source/unogallery/unogalthemeprovider.cxx index 7dca671dd02d..ed6ad415cd71 100644 --- a/svx/source/unogallery/unogalthemeprovider.cxx +++ b/svx/source/unogallery/unogalthemeprovider.cxx @@ -60,8 +60,7 @@ sal_Bool SAL_CALL GalleryThemeProvider::supportsService( const OUString& Service uno::Sequence< OUString > SAL_CALL GalleryThemeProvider::getSupportedServiceNames() throw( uno::RuntimeException, std::exception ) { - uno::Sequence< OUString > aSeq( 1 ); - aSeq.getArray()[ 0 ] = "com.sun.star.gallery.GalleryThemeProvider"; + uno::Sequence<OUString> aSeq { "com.sun.star.gallery.GalleryThemeProvider" }; return aSeq; } |