diff options
author | Mesut Çifci <mesutcifci97@gmail.com> | 2020-01-13 03:35:14 +0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-01-13 10:48:02 +0100 |
commit | c4f0c87b2f4ac68accc202731e0328ab101a073e (patch) | |
tree | 61637ddab237cbb5fc302213bff8c5c07e2244e8 /dbaccess | |
parent | e111483bddecff4e874ad298f762cac42a010610 (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: I1c1e7b42211c51f572698efd3135e388f8fb2979
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86648
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/column.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dbaccess/source/core/api/column.cxx b/dbaccess/source/core/api/column.cxx index 8b96a438292e..59780891c3a3 100644 --- a/dbaccess/source/core/api/column.cxx +++ b/dbaccess/source/core/api/column.cxx @@ -98,8 +98,7 @@ sal_Bool OColumn::supportsService( const OUString& _rServiceName ) Sequence< OUString > OColumn::getSupportedServiceNames( ) { - Sequence<OUString> aSNS { SERVICE_SDBCX_COLUMN }; - return aSNS; + return { SERVICE_SDBCX_COLUMN }; } // OComponentHelper @@ -190,8 +189,7 @@ sal_Bool OColumns::supportsService( const OUString& _rServiceName ) Sequence< OUString > OColumns::getSupportedServiceNames( ) { - Sequence<OUString> aSNS { SERVICE_SDBCX_CONTAINER }; - return aSNS; + return { SERVICE_SDBCX_CONTAINER }; } void OColumns::append( const OUString& _rName, OColumn* _pColumn ) |