summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authornadith <nadmalinda@gmail.com>2016-10-13 21:06:45 +0530
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-14 06:36:35 +0000
commit833d952a5735f5128ab4e8af0b9c60218254e3bd (patch)
tree7338812f002ad1fcd32f84c7280518ad7fed59e4 /connectivity
parentdd5e0814cd3d6b1d914e3beaca07fb9cd34e3977 (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: I4abcff5e1bf050bd4e4cf0695f196c418d8229ef Reviewed-on: https://gerrit.libreoffice.org/29778 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/ResultSet.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/connectivity/source/drivers/firebird/ResultSet.cxx b/connectivity/source/drivers/firebird/ResultSet.cxx
index 299dafad4502..916f7df49f69 100644
--- a/connectivity/source/drivers/firebird/ResultSet.cxx
+++ b/connectivity/source/drivers/firebird/ResultSet.cxx
@@ -811,10 +811,7 @@ OUString SAL_CALL OResultSet::getImplementationName() throw ( RuntimeException,
Sequence< OUString > SAL_CALL OResultSet::getSupportedServiceNames()
throw( RuntimeException, std::exception)
{
- Sequence< OUString > aSupported(2);
- aSupported[0] = "com.sun.star.sdbc.ResultSet";
- aSupported[1] = "com.sun.star.sdbcx.ResultSet";
- return aSupported;
+ return {"com.sun.star.sdbc.ResultSet","com.sun.star.sdbcx.ResultSet"};
}
sal_Bool SAL_CALL OResultSet::supportsService(const OUString& _rServiceName)