summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
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/drivers/evoab2
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/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/NDriver.cxx3
-rw-r--r--connectivity/source/drivers/evoab2/NResultSet.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/connectivity/source/drivers/evoab2/NDriver.cxx b/connectivity/source/drivers/evoab2/NDriver.cxx
index d7f4e376a9ab..0155fa6a611b 100644
--- a/connectivity/source/drivers/evoab2/NDriver.cxx
+++ b/connectivity/source/drivers/evoab2/NDriver.cxx
@@ -85,8 +85,7 @@ Sequence< OUString > OEvoabDriver::getSupportedServiceNames_Static( )
{
// which service is supported
// for more information @see com.sun.star.sdbc.Driver
- Sequence<OUString> aSNS { "com.sun.star.sdbc.Driver" };
- return aSNS;
+ return Sequence<OUString>{ "com.sun.star.sdbc.Driver" };
}
OUString SAL_CALL OEvoabDriver::getImplementationName( )
diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx
index 77d53939c1aa..a9c73a65b740 100644
--- a/connectivity/source/drivers/evoab2/NResultSet.cxx
+++ b/connectivity/source/drivers/evoab2/NResultSet.cxx
@@ -64,8 +64,7 @@ OUString SAL_CALL OEvoabResultSet::getImplementationName( )
Sequence< OUString > SAL_CALL OEvoabResultSet::getSupportedServiceNames( )
{
- Sequence< OUString > aSupported { "com.sun.star.sdbc.ResultSet" };
- return aSupported;
+ return { "com.sun.star.sdbc.ResultSet" };
}
sal_Bool SAL_CALL OEvoabResultSet::supportsService( const OUString& _rServiceName )