diff options
author | nadith <nadmalinda@gmail.com> | 2016-10-13 22:16:16 +0530 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-14 06:11:05 +0000 |
commit | 0f67b8626b326caa8c43fd7ac57be4dd59b2f281 (patch) | |
tree | 463c03c96c4ea7bd3fccd221a8d52efb9bcaccc9 /connectivity | |
parent | 7ae4cedd5a80eca1ec27045a1d97f94ea457ef0b (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Ibfb981a58e61c72f3a292dd8e72895b98502d640
Reviewed-on: https://gerrit.libreoffice.org/29787
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mork/MResultSet.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx index f00ab70d5c27..c6206668301e 100644 --- a/connectivity/source/drivers/mork/MResultSet.cxx +++ b/connectivity/source/drivers/mork/MResultSet.cxx @@ -55,10 +55,7 @@ OUString SAL_CALL OResultSet::getImplementationName( ) throw ( RuntimeException Sequence< OUString > SAL_CALL OResultSet::getSupportedServiceNames( ) throw( RuntimeException, std::exception) { - css::uno::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 ) throw( RuntimeException, std::exception) |