summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/mysql_jdbc/YDriver.cxx')
-rw-r--r--connectivity/source/drivers/mysql_jdbc/YDriver.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/connectivity/source/drivers/mysql_jdbc/YDriver.cxx b/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
index 356233ed3110..d36f78fb3819 100644
--- a/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
+++ b/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
@@ -406,10 +406,7 @@ OUString ODriverDelegator::getImplementationName_Static()
Sequence<OUString> ODriverDelegator::getSupportedServiceNames_Static()
{
- Sequence<OUString> aSNS(2);
- aSNS[0] = "com.sun.star.sdbc.Driver";
- aSNS[1] = "com.sun.star.sdbcx.Driver";
- return aSNS;
+ return { "com.sun.star.sdbc.Driver", "com.sun.star.sdbcx.Driver" };
}
OUString SAL_CALL ODriverDelegator::getImplementationName()