summaryrefslogtreecommitdiffstats
path: root/connectivity/source/drivers/jdbc/JDriver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/jdbc/JDriver.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/JDriver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/jdbc/JDriver.cxx b/connectivity/source/drivers/jdbc/JDriver.cxx
index 888eb3f8d2f3..8e537c2d08e3 100644
--- a/connectivity/source/drivers/jdbc/JDriver.cxx
+++ b/connectivity/source/drivers/jdbc/JDriver.cxx
@@ -229,7 +229,7 @@ Sequence< DriverPropertyInfo > SAL_CALL java_sql_Driver::getPropertyInfo( const
,OUString( )
,Sequence< OUString > ())
);
- return Sequence< DriverPropertyInfo >(&aDriverInfo[0],aDriverInfo.size());
+ return Sequence< DriverPropertyInfo >(aDriverInfo.data(),aDriverInfo.size());
}
::connectivity::SharedResources aResources;
const OUString sMessage = aResources.getResourceString(STR_URI_SYNTAX_ERROR);