tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor

Change-Id: Id4034a57580f37fd71f841deec9edfe9b7c26a67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108286
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx
index 5075222e..6eed4d7 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<OUString> Model::getSupportedServiceNames()
{
    return css::uno::Sequence<OUString>{"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 383afba..23a1ee4 100644
--- a/forms/source/xforms/xforms_services.cxx
+++ b/forms/source/xforms/xforms_services.cxx
@@ -43,7 +43,7 @@ class Implementation:

    css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
    {
        return css::uno::Sequence<OUString>{"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 f8281e6..3db4c73 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<OUString> SlideRenderer::getSupportedServiceNames()
{
    return css::uno::Sequence<OUString>{"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 88f617e..7e6e72f 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<OUString> PDFDetector::getSupportedServiceNames()
{
    return css::uno::Sequence<OUString>{"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 45f3532..a8b045c 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<OUString> PDFIHybridAdaptor::getSupportedServiceNames()
{
    return css::uno::Sequence<OUString>{"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<OUString> PDFIRawAdaptor::getSupportedServiceNames()
{
    return css::uno::Sequence<OUString>{"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 db9e6f2..fcf297d 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<OUString> SAL_CALL getSupportedServiceNames() override
    { return css::uno::Sequence<OUString>{"com.sun.star.ui.UIElementFactory"}; }
    { return {"com.sun.star.ui.UIElementFactory"}; }
};

SwPanelFactory::SwPanelFactory()