tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: I37b5056026f29d2619a4f9d3da9251924c7f5fdd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148898 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
committed by
Stephan Bergmann
parent
fcbf416dff
commit
08c283d63f
@@ -305,8 +305,7 @@ css::uno::Sequence<OUString> OleConverter::getSupportedServiceNames()
|
||||
"com.sun.star.bridge.OleBridgeSupplier2",
|
||||
"com.sun.star.bridge.oleautomation.BridgeSupplier"};
|
||||
}
|
||||
return css::uno::Sequence<OUString>{
|
||||
"com.sun.star.bridge.OleBridgeSupplierVar1"};
|
||||
return {"com.sun.star.bridge.OleBridgeSupplierVar1"};
|
||||
}
|
||||
|
||||
// XInitialize ------------------------------------------------------------------------------
|
||||
|
@@ -626,8 +626,7 @@ OUString ScVbaEventsHelper::getImplementationName()
|
||||
|
||||
css::uno::Sequence<OUString> ScVbaEventsHelper::getSupportedServiceNames()
|
||||
{
|
||||
return css::uno::Sequence<OUString>{
|
||||
"com.sun.star.script.vba.VBASpreadsheetEventProcessor"};
|
||||
return {"com.sun.star.script.vba.VBASpreadsheetEventProcessor"};
|
||||
}
|
||||
|
||||
// protected ------------------------------------------------------------------
|
||||
|
@@ -384,8 +384,7 @@ sal_Bool ResourceId::supportsService(OUString const & ServiceName)
|
||||
|
||||
css::uno::Sequence<OUString> ResourceId::getSupportedServiceNames()
|
||||
{
|
||||
return css::uno::Sequence<OUString>{
|
||||
"com.sun.star.drawing.framework.ResourceId"};
|
||||
return {"com.sun.star.drawing.framework.ResourceId"};
|
||||
}
|
||||
|
||||
/** When eMode is DIRECTLY then the anchor of the called object and the
|
||||
|
@@ -61,7 +61,7 @@ public:
|
||||
|
||||
css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
|
||||
{
|
||||
return css::uno::Sequence<OUString>{ "com.sun.star.graphic.PrimitiveFactory2D" };
|
||||
return { "com.sun.star.graphic.PrimitiveFactory2D" };
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user