From bd43c754d3a6977fc2de80bce27d4045046cb32f Mon Sep 17 00:00:00 2001 From: Mani Kumar Date: Wed, 17 Mar 2021 22:50:33 +0530 Subject: tdf#88205: Use initializer_list ctor in css::uno::Sequence Change-Id: I95aaefa11c733f5c020600cf13510af1bc9c0de7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112652 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- xmlhelp/source/cxxhelp/provider/content.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'xmlhelp/source/cxxhelp/provider/content.cxx') diff --git a/xmlhelp/source/cxxhelp/provider/content.cxx b/xmlhelp/source/cxxhelp/provider/content.cxx index f16c6b880471..1dc5347f2d1e 100644 --- a/xmlhelp/source/cxxhelp/provider/content.cxx +++ b/xmlhelp/source/cxxhelp/provider/content.cxx @@ -105,9 +105,7 @@ OUString SAL_CALL Content::getImplementationName() // virtual uno::Sequence< OUString > SAL_CALL Content::getSupportedServiceNames() { - uno::Sequence aSNS { "com.sun.star.ucb.CHelpContent" }; - - return aSNS; + return { "com.sun.star.ucb.CHelpContent" }; } // XContent methods. -- cgit