[Libreoffice-commits] core.git: sw/source toolkit/source
Mehmet Emin BaÅoÄlu (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jan 28 13:49:58 UTC 2020
sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx | 6 ++----
toolkit/source/controls/grid/defaultgriddatamodel.cxx | 3 +--
2 files changed, 3 insertions(+), 6 deletions(-)
New commits:
commit 6dc77b9f16e0b3fba6f801a3c307786a7c8a8ddd
Author: Mehmet Emin Başoğlu <mehmeteminbasoglu at hotmail.com>
AuthorDate: Mon Jan 27 15:51:28 2020 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Tue Jan 28 14:49:25 2020 +0100
tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: I13e5c59aa673100655f38328b4b6515a1946fb76
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87524
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
diff --git a/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx b/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx
index c9def241673e..854a2c0c6a94 100644
--- a/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx
+++ b/sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx
@@ -84,8 +84,7 @@ public:
virtual uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
- uno::Sequence<OUString> aServices { "com.sun.star.frame.ToolbarController" };
- return aServices;
+ return { "com.sun.star.frame.ToolbarController" };
}
// XComponent
@@ -145,8 +144,7 @@ public:
virtual uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
- uno::Sequence<OUString> aServices { "com.sun.star.frame.ToolbarController" };
- return aServices;
+ return { "com.sun.star.frame.ToolbarController" };
}
// XComponent
diff --git a/toolkit/source/controls/grid/defaultgriddatamodel.cxx b/toolkit/source/controls/grid/defaultgriddatamodel.cxx
index 1945204c559b..c700ad79b344 100644
--- a/toolkit/source/controls/grid/defaultgriddatamodel.cxx
+++ b/toolkit/source/controls/grid/defaultgriddatamodel.cxx
@@ -488,8 +488,7 @@ private:
Sequence< OUString > SAL_CALL DefaultGridDataModel::getSupportedServiceNames( )
{
- Sequence<OUString> aSeq { "com.sun.star.awt.grid.DefaultGridDataModel" };
- return aSeq;
+ return { "com.sun.star.awt.grid.DefaultGridDataModel" };
}
More information about the Libreoffice-commits
mailing list