[Libreoffice-commits] core.git: forms/source sdext/source sd/source sw/source
Bayram Ãiçek (via logerrit)
logerrit at kemper.freedesktop.org
Sat Dec 26 16:15:56 UTC 2020
forms/source/xforms/model.cxx | 2 +-
forms/source/xforms/xforms_services.cxx | 2 +-
sd/source/ui/presenter/SlideRenderer.cxx | 2 +-
sdext/source/pdfimport/filterdet.cxx | 2 +-
sdext/source/pdfimport/pdfiadaptor.cxx | 4 ++--
sw/source/uibase/sidebar/SwPanelFactory.cxx | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit ea14c98aaba550ecde4c4736d1a3abdc0fd451ef
Author: Bayram Çiçek <mail at bayramcicek.com.tr>
AuthorDate: Fri Dec 25 17:00:30 2020 +0000
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Dec 26 17:15:18 2020 +0100
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 at yahoo.fr>
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<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 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<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 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<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 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<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 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<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 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<OUString> SAL_CALL getSupportedServiceNames() override
- { return css::uno::Sequence<OUString>{"com.sun.star.ui.UIElementFactory"}; }
+ { return {"com.sun.star.ui.UIElementFactory"}; }
};
SwPanelFactory::SwPanelFactory()
More information about the Libreoffice-commits
mailing list