diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx index 5075222e1459..6eed4d7d06ed 100644 --- a/forms/source/xforms/model.cxx +++ b/forms/source/xforms/model.cxx @@ -610,7 +610,7 @@ sal_Bool Model::supportsService(OUString const & ServiceName) css::uno::Sequence Model::getSupportedServiceNames() { - return css::uno::Sequence{"com.sun.star.xforms.Model"}; + return {"com.sun.star.xforms.Model"}; } extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* diff --git a/forms/source/xforms/xforms_services.cxx b/forms/source/xforms/xforms_services.cxx index 383afbaeb802..23a1ee400ffb 100644 --- a/forms/source/xforms/xforms_services.cxx +++ b/forms/source/xforms/xforms_services.cxx @@ -43,7 +43,7 @@ class Implementation: css::uno::Sequence SAL_CALL getSupportedServiceNames() override { - return css::uno::Sequence{"com.sun.star.xforms.XForms"}; + return {"com.sun.star.xforms.XForms"}; } }; diff --git a/sd/source/ui/presenter/SlideRenderer.cxx b/sd/source/ui/presenter/SlideRenderer.cxx index f8281e6319bb..3db4c7355ca5 100644 --- a/sd/source/ui/presenter/SlideRenderer.cxx +++ b/sd/source/ui/presenter/SlideRenderer.cxx @@ -70,7 +70,7 @@ sal_Bool SlideRenderer::supportsService(OUString const & ServiceName) css::uno::Sequence SlideRenderer::getSupportedServiceNames() { - return css::uno::Sequence{"com.sun.star.drawing.SlideRenderer"}; + return {"com.sun.star.drawing.SlideRenderer"}; } //----- XSlideRenderer -------------------------------------------------------- diff --git a/sdext/source/pdfimport/filterdet.cxx b/sdext/source/pdfimport/filterdet.cxx index 88f617ecea89..7e6e72f4d707 100644 --- a/sdext/source/pdfimport/filterdet.cxx +++ b/sdext/source/pdfimport/filterdet.cxx @@ -396,7 +396,7 @@ sal_Bool PDFDetector::supportsService(OUString const & ServiceName) css::uno::Sequence PDFDetector::getSupportedServiceNames() { - return css::uno::Sequence{"com.sun.star.document.ImportFilter"}; + return {"com.sun.star.document.ImportFilter"}; } bool checkDocChecksum( const OUString& rInPDFFileURL, diff --git a/sdext/source/pdfimport/pdfiadaptor.cxx b/sdext/source/pdfimport/pdfiadaptor.cxx index 45f35320fe30..a8b045ca0ccc 100644 --- a/sdext/source/pdfimport/pdfiadaptor.cxx +++ b/sdext/source/pdfimport/pdfiadaptor.cxx @@ -201,7 +201,7 @@ sal_Bool PDFIHybridAdaptor::supportsService(OUString const & ServiceName) css::uno::Sequence PDFIHybridAdaptor::getSupportedServiceNames() { - return css::uno::Sequence{"com.sun.star.document.ImportFilter"}; + return {"com.sun.star.document.ImportFilter"}; } PDFIRawAdaptor::PDFIRawAdaptor( OUString const & implementationName, const uno::Reference< uno::XComponentContext >& xContext ) : @@ -323,7 +323,7 @@ sal_Bool PDFIRawAdaptor::supportsService(OUString const & ServiceName) css::uno::Sequence PDFIRawAdaptor::getSupportedServiceNames() { - return css::uno::Sequence{"com.sun.star.document.ImportFilter"}; + return {"com.sun.star.document.ImportFilter"}; } diff --git a/sw/source/uibase/sidebar/SwPanelFactory.cxx b/sw/source/uibase/sidebar/SwPanelFactory.cxx index db9e6f29458a..fcf297dc3100 100644 --- a/sw/source/uibase/sidebar/SwPanelFactory.cxx +++ b/sw/source/uibase/sidebar/SwPanelFactory.cxx @@ -74,7 +74,7 @@ public: { return cppu::supportsService(this, ServiceName); } css::uno::Sequence SAL_CALL getSupportedServiceNames() override - { return css::uno::Sequence{"com.sun.star.ui.UIElementFactory"}; } + { return {"com.sun.star.ui.UIElementFactory"}; } }; SwPanelFactory::SwPanelFactory()