diff options
Diffstat (limited to 'connectivity/source/drivers/dbase/DResultSet.cxx')
-rw-r--r-- | connectivity/source/drivers/dbase/DResultSet.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/connectivity/source/drivers/dbase/DResultSet.cxx b/connectivity/source/drivers/dbase/DResultSet.cxx index 737a87bf559d..572eaa27d69c 100644 --- a/connectivity/source/drivers/dbase/DResultSet.cxx +++ b/connectivity/source/drivers/dbase/DResultSet.cxx @@ -54,10 +54,7 @@ OUString SAL_CALL ODbaseResultSet::getImplementationName( ) Sequence< OUString > SAL_CALL ODbaseResultSet::getSupportedServiceNames( ) { - 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 ODbaseResultSet::supportsService( const OUString& _rServiceName ) |