diff options
author | Onur Yilmaz <onuryilmaz0750@gmail.com> | 2020-01-27 23:59:35 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-01-28 21:21:58 +0100 |
commit | 9359d9a94d446fc40c5f98fcdbc3086ecba1f830 (patch) | |
tree | 25489372bc819274432b48721660159f7d7bc135 /dbaccess | |
parent | 627e40b9ef7ba8e9b5b06adc4a553d95cd5e5560 (diff) |
tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Ie5a381fc5e5b73490ab8b2036ef2a1164e475e8f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87557
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableController.cxx | 3 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/copytablewizard.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index 2b39fc45c477..4d0cb028b148 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -119,8 +119,7 @@ OUString OTableController::getImplementationName_Static() Sequence< OUString> OTableController::getSupportedServiceNames_Static() { - Sequence<OUString> aSupported { "com.sun.star.sdb.TableDesign" }; - return aSupported; + return { "com.sun.star.sdb.TableDesign" }; } Sequence< OUString> SAL_CALL OTableController::getSupportedServiceNames() diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 90fb3cc95b4f..884ad73eef4a 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -435,8 +435,7 @@ css::uno::Sequence<OUString> SAL_CALL CopyTableWizard::getSupportedServiceNames( css::uno::Sequence<OUString> CopyTableWizard::getSupportedServiceNames_Static() { - css::uno::Sequence<OUString> aSupported { "com.sun.star.sdb.application.CopyTableWizard" }; - return aSupported; + return { "com.sun.star.sdb.application.CopyTableWizard" }; } Reference< XPropertySetInfo > SAL_CALL CopyTableWizard::getPropertySetInfo() |