summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/drivers/mork/MResultSet.cxx5
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)