diff options
Diffstat (limited to 'svx/source/unodraw/unopool.cxx')
-rw-r--r-- | svx/source/unodraw/unopool.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx index aae498f1cd9d..3d63ff953bc1 100644 --- a/svx/source/unodraw/unopool.cxx +++ b/svx/source/unodraw/unopool.cxx @@ -404,8 +404,7 @@ OUString SAL_CALL SvxUnoDrawPool::getImplementationName() throw( uno::RuntimeExc uno::Sequence< OUString > SAL_CALL SvxUnoDrawPool::getSupportedServiceNames( ) throw( uno::RuntimeException, std::exception ) { - uno::Sequence< OUString > aSNS( 1 ); - aSNS.getArray()[0] = "com.sun.star.drawing.Defaults"; + uno::Sequence<OUString> aSNS { "com.sun.star.drawing.Defaults" }; return aSNS; } |