summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorMani Kumar <manid2.work@gmail.com>2021-03-17 22:50:33 +0530
committerMike Kaganski <mike.kaganski@collabora.com>2021-03-18 07:29:56 +0100
commitbd43c754d3a6977fc2de80bce27d4045046cb32f (patch)
tree4176329f6e01c82424d1ec21dd8585bf7dac110f /xmlscript
parent80da19ae298b4b4d8802906f88fde0c0f9348765 (diff)
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 <mike.kaganski@collabora.com>
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_export.cxx6
1 files changed, 2 insertions, 4 deletions
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