[Libreoffice-commits] core.git: dbaccess/source extensions/source filter/source
Yusuf Keten (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jan 12 16:08:04 UTC 2020
dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx | 3 +--
dbaccess/source/ui/uno/DBTypeWizDlg.cxx | 3 +--
dbaccess/source/ui/uno/TableFilterDlg.cxx | 3 +--
dbaccess/source/ui/uno/UserSettingsDlg.cxx | 3 +--
dbaccess/source/ui/uno/admindlg.cxx | 3 +--
dbaccess/source/ui/uno/unosqlmessage.cxx | 3 +--
extensions/source/propctrlr/MasterDetailLinkDialog.cxx | 3 +--
filter/source/msfilter/msvbahelper.cxx | 3 +--
8 files changed, 8 insertions(+), 16 deletions(-)
New commits:
commit dd3e75758f9de9e08022938b5cc948c2a4417058
Author: Yusuf Keten <ketenyusuf at gmail.com>
AuthorDate: Sat Jan 11 18:43:19 2020 +0300
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sun Jan 12 17:07:31 2020 +0100
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: I9b285a80e0d52f412e2738995d66aa65cf93d16a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86606
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx b/dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx
index 9a2d0e652176..70fc2e9fa5e4 100644
--- a/dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx
+++ b/dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx
@@ -106,8 +106,7 @@ namespace dbaui
css::uno::Sequence<OUString> OAdvancedSettingsDialog::getSupportedServiceNames_Static()
{
- css::uno::Sequence<OUString> aSupported { "com.sun.star.sdb.AdvancedDatabaseSettingsDialog" };
- return aSupported;
+ return { "com.sun.star.sdb.AdvancedDatabaseSettingsDialog" };
}
Reference<XPropertySetInfo> SAL_CALL OAdvancedSettingsDialog::getPropertySetInfo()
diff --git a/dbaccess/source/ui/uno/DBTypeWizDlg.cxx b/dbaccess/source/ui/uno/DBTypeWizDlg.cxx
index 963d3e136668..4906d080b8f6 100644
--- a/dbaccess/source/ui/uno/DBTypeWizDlg.cxx
+++ b/dbaccess/source/ui/uno/DBTypeWizDlg.cxx
@@ -70,8 +70,7 @@ css::uno::Sequence<OUString> SAL_CALL ODBTypeWizDialog::getSupportedServiceNames
css::uno::Sequence<OUString> ODBTypeWizDialog::getSupportedServiceNames_Static()
{
- css::uno::Sequence<OUString> aSupported { "com.sun.star.sdb.DataSourceTypeChangeDialog" };
- return aSupported;
+ return { "com.sun.star.sdb.DataSourceTypeChangeDialog" };
}
Reference<XPropertySetInfo> SAL_CALL ODBTypeWizDialog::getPropertySetInfo()
diff --git a/dbaccess/source/ui/uno/TableFilterDlg.cxx b/dbaccess/source/ui/uno/TableFilterDlg.cxx
index 92fee688b89d..f34c1a1005c6 100644
--- a/dbaccess/source/ui/uno/TableFilterDlg.cxx
+++ b/dbaccess/source/ui/uno/TableFilterDlg.cxx
@@ -71,8 +71,7 @@ css::uno::Sequence<OUString> SAL_CALL OTableFilterDialog::getSupportedServiceNam
css::uno::Sequence<OUString> OTableFilterDialog::getSupportedServiceNames_Static()
{
- css::uno::Sequence<OUString> aSupported { "com.sun.star.sdb.TableFilterDialog" };
- return aSupported;
+ return { "com.sun.star.sdb.TableFilterDialog" };
}
Reference<XPropertySetInfo> SAL_CALL OTableFilterDialog::getPropertySetInfo()
diff --git a/dbaccess/source/ui/uno/UserSettingsDlg.cxx b/dbaccess/source/ui/uno/UserSettingsDlg.cxx
index 3bb09cad794b..b1e829fe02d2 100644
--- a/dbaccess/source/ui/uno/UserSettingsDlg.cxx
+++ b/dbaccess/source/ui/uno/UserSettingsDlg.cxx
@@ -71,8 +71,7 @@ css::uno::Sequence<OUString> SAL_CALL OUserSettingsDialog::getSupportedServiceNa
css::uno::Sequence<OUString> OUserSettingsDialog::getSupportedServiceNames_Static()
{
- css::uno::Sequence<OUString> aSupported { "com.sun.star.sdb.UserAdministrationDialog" };
- return aSupported;
+ return { "com.sun.star.sdb.UserAdministrationDialog" };
}
Reference<XPropertySetInfo> SAL_CALL OUserSettingsDialog::getPropertySetInfo()
diff --git a/dbaccess/source/ui/uno/admindlg.cxx b/dbaccess/source/ui/uno/admindlg.cxx
index f5d9c97a7263..2562b946b650 100644
--- a/dbaccess/source/ui/uno/admindlg.cxx
+++ b/dbaccess/source/ui/uno/admindlg.cxx
@@ -71,8 +71,7 @@ css::uno::Sequence<OUString> SAL_CALL ODataSourcePropertyDialog::getSupportedSer
css::uno::Sequence<OUString> ODataSourcePropertyDialog::getSupportedServiceNames_Static()
{
- css::uno::Sequence<OUString> aSupported { "com.sun.star.sdb.DatasourceAdministrationDialog" };
- return aSupported;
+ return { "com.sun.star.sdb.DatasourceAdministrationDialog" };
}
Reference<XPropertySetInfo> SAL_CALL ODataSourcePropertyDialog::getPropertySetInfo()
diff --git a/dbaccess/source/ui/uno/unosqlmessage.cxx b/dbaccess/source/ui/uno/unosqlmessage.cxx
index cf8551c6a722..d566fcadd8e9 100644
--- a/dbaccess/source/ui/uno/unosqlmessage.cxx
+++ b/dbaccess/source/ui/uno/unosqlmessage.cxx
@@ -86,8 +86,7 @@ css::uno::Sequence<OUString> SAL_CALL OSQLMessageDialog::getSupportedServiceName
css::uno::Sequence<OUString> OSQLMessageDialog::getSupportedServiceNames_Static()
{
- css::uno::Sequence<OUString> aSupported { "com.sun.star.sdb.ErrorMessageDialog" };
- return aSupported;
+ return { "com.sun.star.sdb.ErrorMessageDialog" };
}
void OSQLMessageDialog::initialize(Sequence<Any> const & args)
diff --git a/extensions/source/propctrlr/MasterDetailLinkDialog.cxx b/extensions/source/propctrlr/MasterDetailLinkDialog.cxx
index 3b130c173cb4..94f8d7e4124b 100644
--- a/extensions/source/propctrlr/MasterDetailLinkDialog.cxx
+++ b/extensions/source/propctrlr/MasterDetailLinkDialog.cxx
@@ -75,8 +75,7 @@ namespace pcr
css::uno::Sequence<OUString> MasterDetailLinkDialog::getSupportedServiceNames_static()
{
- css::uno::Sequence<OUString> aSupported { "com.sun.star.form.MasterDetailLinkDialog" };
- return aSupported;
+ return { "com.sun.star.form.MasterDetailLinkDialog" };
}
diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx
index a60e097bd067..8abe76511549 100644
--- a/filter/source/msfilter/msvbahelper.cxx
+++ b/filter/source/msfilter/msvbahelper.cxx
@@ -504,8 +504,7 @@ bool executeMacro( SfxObjectShell* pShell, const OUString& sMacroName, uno::Sequ
uno::Sequence< OUString > VBAMacroResolver_getSupportedServiceNames()
{
- uno::Sequence<OUString> aServiceNames { "com.sun.star.script.vba.VBAMacroResolver" };
- return aServiceNames;
+ return { "com.sun.star.script.vba.VBAMacroResolver" };
}
OUString VBAMacroResolver_getImplementationName()
More information about the Libreoffice-commits
mailing list