summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-12-07 18:09:17 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-12-08 00:00:43 +0100
commita26173266db38a2e9f91c37005097e33bb0e628d (patch)
tree0f26abf13f8379ec6540ca4fa646215a7b5cf0ba /sc
parent8075798b22f2188530f57b8747589923bfd419ef (diff)
Simplify a bit
Change-Id: I7ecbf2c1e4b08175dabd29782a40dd2f25fe040c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178058 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbaaxistitle.cxx2
-rw-r--r--sc/source/ui/vba/vbacharttitle.cxx2
-rw-r--r--sc/source/ui/vba/vbaglobals.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/vba/vbaaxistitle.cxx b/sc/source/ui/vba/vbaaxistitle.cxx
index c35166cdc56c..7bf277ff5d5b 100644
--- a/sc/source/ui/vba/vbaaxistitle.cxx
+++ b/sc/source/ui/vba/vbaaxistitle.cxx
@@ -37,7 +37,7 @@ ScVbaAxisTitle::getServiceNames()
{
static uno::Sequence< OUString > const aServiceNames = comphelper::concatSequences(
AxisTitleBase::getServiceNames(),
- uno::Sequence<OUString> { u"ooo.vba.excel.AxisTitle"_ustr } );
+ std::initializer_list<OUString>{ u"ooo.vba.excel.AxisTitle"_ustr } );
return aServiceNames;
}
diff --git a/sc/source/ui/vba/vbacharttitle.cxx b/sc/source/ui/vba/vbacharttitle.cxx
index 93a9acdca82f..4a4e5e7f1563 100644
--- a/sc/source/ui/vba/vbacharttitle.cxx
+++ b/sc/source/ui/vba/vbacharttitle.cxx
@@ -37,7 +37,7 @@ ScVbaChartTitle::getServiceNames()
{
static uno::Sequence< OUString > const aServiceNames = comphelper::concatSequences(
ChartTitleBase::getServiceNames(),
- uno::Sequence< OUString > { u"ooo.vba.excel.Chart"_ustr } );
+ std::initializer_list<OUString>{ u"ooo.vba.excel.Chart"_ustr } );
return aServiceNames;
}
diff --git a/sc/source/ui/vba/vbaglobals.cxx b/sc/source/ui/vba/vbaglobals.cxx
index 9fec0ccba8fd..366496024295 100644
--- a/sc/source/ui/vba/vbaglobals.cxx
+++ b/sc/source/ui/vba/vbaglobals.cxx
@@ -225,7 +225,7 @@ ScVbaGlobals::getAvailableServiceNames( )
{
static const uno::Sequence< OUString > serviceNames = comphelper::concatSequences(
ScVbaGlobals_BASE::getAvailableServiceNames(),
- uno::Sequence< OUString >
+ std::initializer_list<OUString>
{
u"ooo.vba.excel.Range"_ustr,
u"ooo.vba.excel.Workbook"_ustr,