diff --git a/extensions/source/ole/servprov.cxx b/extensions/source/ole/servprov.cxx index ea69be1d9fe2..f5a9323d361d 100644 --- a/extensions/source/ole/servprov.cxx +++ b/extensions/source/ole/servprov.cxx @@ -305,8 +305,7 @@ css::uno::Sequence OleConverter::getSupportedServiceNames() "com.sun.star.bridge.OleBridgeSupplier2", "com.sun.star.bridge.oleautomation.BridgeSupplier"}; } - return css::uno::Sequence{ - "com.sun.star.bridge.OleBridgeSupplierVar1"}; + return {"com.sun.star.bridge.OleBridgeSupplierVar1"}; } // XInitialize ------------------------------------------------------------------------------ diff --git a/sc/source/ui/vba/vbaeventshelper.cxx b/sc/source/ui/vba/vbaeventshelper.cxx index 199c5493ef0b..9cfb3ab31b08 100644 --- a/sc/source/ui/vba/vbaeventshelper.cxx +++ b/sc/source/ui/vba/vbaeventshelper.cxx @@ -626,8 +626,7 @@ OUString ScVbaEventsHelper::getImplementationName() css::uno::Sequence ScVbaEventsHelper::getSupportedServiceNames() { - return css::uno::Sequence{ - "com.sun.star.script.vba.VBASpreadsheetEventProcessor"}; + return {"com.sun.star.script.vba.VBASpreadsheetEventProcessor"}; } // protected ------------------------------------------------------------------ diff --git a/sd/source/ui/framework/configuration/ResourceId.cxx b/sd/source/ui/framework/configuration/ResourceId.cxx index 1845b353f168..21d7e6932bad 100644 --- a/sd/source/ui/framework/configuration/ResourceId.cxx +++ b/sd/source/ui/framework/configuration/ResourceId.cxx @@ -384,8 +384,7 @@ sal_Bool ResourceId::supportsService(OUString const & ServiceName) css::uno::Sequence ResourceId::getSupportedServiceNames() { - return css::uno::Sequence{ - "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 diff --git a/svx/inc/sdr/primitive2d/primitivefactory2d.hxx b/svx/inc/sdr/primitive2d/primitivefactory2d.hxx index ffe099e609ef..eb1c8fd9b92f 100644 --- a/svx/inc/sdr/primitive2d/primitivefactory2d.hxx +++ b/svx/inc/sdr/primitive2d/primitivefactory2d.hxx @@ -61,7 +61,7 @@ public: css::uno::Sequence SAL_CALL getSupportedServiceNames() override { - return css::uno::Sequence{ "com.sun.star.graphic.PrimitiveFactory2D" }; + return { "com.sun.star.graphic.PrimitiveFactory2D" }; } };