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
This commit is contained in:
Mike Kaganski 2024-12-07 18:09:17 +05:00
parent 8075798b22
commit a26173266d
3 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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,