tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Iffb8512c530b33f87076aec9f85b45219c7d07e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87528 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
This commit is contained in:
committed by
Muhammet Kara
parent
d39ad9cdd5
commit
4939a89052
@@ -127,8 +127,7 @@ namespace pcr
|
||||
|
||||
Sequence< OUString > FormController::getSupportedServiceNames_static( )
|
||||
{
|
||||
Sequence< OUString > aSupported { "com.sun.star.form.PropertyBrowserController" };
|
||||
return aSupported;
|
||||
return { "com.sun.star.form.PropertyBrowserController" };
|
||||
}
|
||||
|
||||
|
||||
@@ -254,8 +253,7 @@ namespace pcr
|
||||
|
||||
Sequence< OUString > DialogController::getSupportedServiceNames_static( )
|
||||
{
|
||||
Sequence< OUString > aSupported { "com.sun.star.awt.PropertyBrowserController" };
|
||||
return aSupported;
|
||||
return { "com.sun.star.awt.PropertyBrowserController" };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -46,8 +46,7 @@ namespace unourl_resolver
|
||||
|
||||
static Sequence< OUString > resolver_getSupportedServiceNames()
|
||||
{
|
||||
Sequence< OUString > seqNames { "com.sun.star.bridge.UnoUrlResolver" };
|
||||
return seqNames;
|
||||
return { "com.sun.star.bridge.UnoUrlResolver" };
|
||||
}
|
||||
|
||||
static OUString resolver_getImplementationName()
|
||||
|
||||
@@ -84,8 +84,7 @@ OUString SAL_CALL SvxUnoBitmapTable::getImplementationName()
|
||||
|
||||
uno::Sequence< OUString > SAL_CALL SvxUnoBitmapTable::getSupportedServiceNames( )
|
||||
{
|
||||
uno::Sequence<OUString> aSNS { "com.sun.star.drawing.BitmapTable" };
|
||||
return aSNS;
|
||||
return { "com.sun.star.drawing.BitmapTable" };
|
||||
}
|
||||
|
||||
NameOrIndex* SvxUnoBitmapTable::createItem() const
|
||||
|
||||
@@ -64,8 +64,7 @@ OUString SAL_CALL SvxUnoDashTable::getImplementationName()
|
||||
|
||||
uno::Sequence< OUString > SAL_CALL SvxUnoDashTable::getSupportedServiceNames( )
|
||||
{
|
||||
uno::Sequence<OUString> aSNS { "com.sun.star.drawing.DashTable" };
|
||||
return aSNS;
|
||||
return { "com.sun.star.drawing.DashTable" };
|
||||
}
|
||||
|
||||
NameOrIndex* SvxUnoDashTable::createItem() const
|
||||
|
||||
@@ -63,8 +63,7 @@ OUString SAL_CALL SvxUnoGradientTable::getImplementationName()
|
||||
|
||||
uno::Sequence< OUString > SAL_CALL SvxUnoGradientTable::getSupportedServiceNames( )
|
||||
{
|
||||
uno::Sequence<OUString> aSNS { "com.sun.star.drawing.GradientTable" };
|
||||
return aSNS;
|
||||
return { "com.sun.star.drawing.GradientTable" };
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -63,8 +63,7 @@ OUString SAL_CALL SvxUnoHatchTable::getImplementationName()
|
||||
|
||||
uno::Sequence< OUString > SAL_CALL SvxUnoHatchTable::getSupportedServiceNames( )
|
||||
{
|
||||
uno::Sequence<OUString> aSNS { "com.sun.star.drawing.HatchTable" };
|
||||
return aSNS;
|
||||
return { "com.sun.star.drawing.HatchTable" };
|
||||
}
|
||||
|
||||
NameOrIndex* SvxUnoHatchTable::createItem() const
|
||||
|
||||
@@ -63,8 +63,7 @@ OUString SAL_CALL SvxUnoTransGradientTable::getImplementationName()
|
||||
|
||||
uno::Sequence< OUString > SAL_CALL SvxUnoTransGradientTable::getSupportedServiceNames( )
|
||||
{
|
||||
uno::Sequence<OUString> aSNS { "com.sun.star.drawing.TransparencyGradientTable" };
|
||||
return aSNS;
|
||||
return { "com.sun.star.drawing.TransparencyGradientTable" };
|
||||
}
|
||||
|
||||
NameOrIndex* SvxUnoTransGradientTable::createItem() const
|
||||
|
||||
@@ -2464,8 +2464,7 @@ OUString _getImplementationName() {
|
||||
|
||||
uno::Sequence< OUString > _getSupportedServiceNames()
|
||||
{
|
||||
uno::Sequence< OUString > s { "com.sun.star.rdf.Repository" };
|
||||
return s;
|
||||
return { "com.sun.star.rdf.Repository" };
|
||||
}
|
||||
|
||||
uno::Reference< uno::XInterface > _create(
|
||||
|
||||
Reference in New Issue
Block a user