diff options
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx b/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx index c896e834f410..7cf07b8c7c33 100644 --- a/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx +++ b/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx @@ -94,9 +94,7 @@ OUString DocumentContentFactory::getImplementationName_Static() uno::Sequence< OUString > DocumentContentFactory::getSupportedServiceNames_Static() { - uno::Sequence< OUString > aSNS( 1 ); - aSNS.getArray()[ 0 ] - = "com.sun.star.frame.TransientDocumentsDocumentContentFactory"; + uno::Sequence< OUString > aSNS { "com.sun.star.frame.TransientDocumentsDocumentContentFactory" }; return aSNS; } |