[Libreoffice-commits] core.git: connectivity/source

nadith nadmalinda at gmail.com
Fri Oct 14 06:17:51 UTC 2016


 connectivity/source/drivers/mork/MResultSet.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 0f67b8626b326caa8c43fd7ac57be4dd59b2f281
Author: nadith <nadmalinda at gmail.com>
Date:   Thu Oct 13 22:16:16 2016 +0530

    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 at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx
index f00ab70..c620666 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)


More information about the Libreoffice-commits mailing list