summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/odbc/ODriver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/odbc/ODriver.cxx')
-rw-r--r--connectivity/source/drivers/odbc/ODriver.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/drivers/odbc/ODriver.cxx b/connectivity/source/drivers/odbc/ODriver.cxx
index 94987f8785fc..21c013a2845c 100644
--- a/connectivity/source/drivers/odbc/ODriver.cxx
+++ b/connectivity/source/drivers/odbc/ODriver.cxx
@@ -67,8 +67,7 @@ OUString ODBCDriver::getImplementationName_Static( ) throw(RuntimeException)
Sequence< OUString > ODBCDriver::getSupportedServiceNames_Static( ) throw (RuntimeException)
{
- Sequence< OUString > aSNS( 1 );
- aSNS[0] = "com.sun.star.sdbc.Driver";
+ Sequence<OUString> aSNS { "com.sun.star.sdbc.Driver" };
return aSNS;
}