summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools
diff options
context:
space:
mode:
authornienzu <tommy.wu@ossii.com.tw>2020-05-23 17:32:13 +0800
committerMichael Stahl <michael.stahl@cib.de>2020-06-05 11:34:10 +0200
commitc1e157b58f3e5e907f61008387973451b7ba31dc (patch)
treef00fd2aa18f8b1819a3a47829f0cc35d49395047 /connectivity/source/commontools
parentc04fcba163c77f3036a581af6b33d6383a277637 (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Ic61c1d5829b510a71b8d444f29ffed36ee540ea8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94717 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r--connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
index 7d3d34891783..7bc060ad174c 100644
--- a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
+++ b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
@@ -840,8 +840,7 @@ void SAL_CALL ODatabaseMetaDataResultSet::initialize( const Sequence< Any >& _aA
Sequence< OUString > ODatabaseMetaDataResultSet::getSupportedServiceNames_Static( )
{
- Sequence<OUString> aSNS { "com.sun.star.sdbc.ResultSet" };
- return aSNS;
+ return Sequence<OUString>{ "com.sun.star.sdbc.ResultSet" };
}
OUString SAL_CALL ODatabaseMetaDataResultSet::getImplementationName( )