summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorBayram Çiçek <mail@bayramcicek.com.tr>2020-12-25 17:00:30 +0000
committerJulien Nabet <serval2412@yahoo.fr>2020-12-26 17:15:18 +0100
commitea14c98aaba550ecde4c4736d1a3abdc0fd451ef (patch)
treecc6f0256d5461769f4349dd7c4d92ee7713fe55c /forms
parent6204c94aeec9f65244c487edecf03a78c5740fbc (diff)
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>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/model.cxx2
-rw-r--r--forms/source/xforms/xforms_services.cxx2
2 files changed, 2 insertions, 2 deletions
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"};
}
};