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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mysql_jdbc/YDriver.cxx b/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
index 77906f6f3551..0d53ebe0d986 100644
--- a/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
+++ b/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
@@ -326,7 +326,7 @@ ODriverDelegator::getPropertyInfo(const OUString& url, const Sequence<PropertyVa
OUString(), Sequence<OUString>()));
}
- return Sequence<DriverPropertyInfo>(&aDriverInfo[0], aDriverInfo.size());
+ return Sequence<DriverPropertyInfo>(aDriverInfo.data(), aDriverInfo.size());
}
sal_Int32 SAL_CALL ODriverDelegator::getMajorVersion() { return 1; }