From 833d952a5735f5128ab4e8af0b9c60218254e3bd Mon Sep 17 00:00:00 2001 From: nadith Date: Thu, 13 Oct 2016 21:06:45 +0530 Subject: 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 Tested-by: Noel Grandin --- connectivity/source/drivers/firebird/ResultSet.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'connectivity') 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) -- cgit