xmlhelp/source/cxxhelp/provider/content.cxx |4 +---
xmlscript/source/xmlflat_imexp/xmlbas_export.cxx |6 ++
xmlsecurity/source/component/certificatecontainer.cxx |3 +--
3 files changed, 4 insertions(+), 9 deletions(-)
New commits:
commit bd43c754d3a6977fc2de80bce27d4045046cb32f
Author: Mani Kumar
AuthorDate: Wed Mar 17 22:50:33 2021 +0530
Commit: Mike Kaganski
CommitDate: Thu Mar 18 07:29:56 2021 +0100
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
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.
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
index fcec0985dbec..3f0351a1f97e 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
@@ -331,8 +331,7 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence<
beans::PropertyValue >& /
Sequence< OUString > XMLBasicExporter::getSupportedServiceNames( )
{
-Sequence< OUString > aNames { "com.sun.star.document.XMLBasicExporter"
};
-return aNames;
+return { "com.sun.star.document.XMLBasicExporter" };
}
// XMLOasisBasicExporter
@@ -355,8 +354,7 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence<
beans::PropertyValue >& /
Sequence< OUString > XMLOasisBasicExporter::getSupportedServiceNames( )
{
-Sequence< OUString > aNames {
"com.sun.star.document.XMLOasisBasicExporter" };
-return aNames;
+return { "com.sun.star.document.XMLOasisBasicExporter" };
}
} // namespace xmlscript
diff --git a/xmlsecurity/source/component/certificatecontainer.cxx
b/xmlsecurity/source/component/certificatecontainer.cxx
index 8f921d881715..e311b1b600f8 100644
--- a/xmlsecurity/source/component/certificatecontainer.cxx
+++ b/xmlsecurity/source/component/certificatecontainer.cxx
@@ -138,8 +138,7 @@ CertificateContainer::supportsService( const OUString&
ServiceName )
Sequence< OUString > SAL_CALL
CertificateContainer::getSupportedServiceNames( )
{
-Sequence< OUString > aRet { "com.sun.star.security.CertificateContainer" };
-return aRet;
+return { "com.sun.star.security.CertificateContainer" };
}
namespace
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits