summaryrefslogtreecommitdiffstats
path: root/connectivity/source/drivers/file
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-05-22 13:49:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-05-22 16:35:20 +0200
commitc18e2ea2a52fc171c50fcb22d431e94c6aececc5 (patch)
treea63721b18626947e5278a51feb7fd64604e80eee /connectivity/source/drivers/file
parentSpell out element access explicitly in test code (diff)
downloadcore-c18e2ea2a52fc171c50fcb22d431e94c6aececc5.tar.gz
core-c18e2ea2a52fc171c50fcb22d431e94c6aececc5.zip
New loplugin:data
...following up on 1453c2c8f13bac64ecd1981af7cebf1c421808ac "prefer vector::data to &vector[0]" Change-Id: I7c113747d92d144a521d49b89384dd8bf1215c01 Reviewed-on: https://gerrit.libreoffice.org/72765 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/source/drivers/file')
-rw-r--r--connectivity/source/drivers/file/FDriver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/file/FDriver.cxx b/connectivity/source/drivers/file/FDriver.cxx
index fd55eb5bb62a..e3a756672b65 100644
--- a/connectivity/source/drivers/file/FDriver.cxx
+++ b/connectivity/source/drivers/file/FDriver.cxx
@@ -161,7 +161,7 @@ Sequence< DriverPropertyInfo > SAL_CALL OFileDriver::getPropertyInfo( const OUSt
,OUString()
,Sequence< OUString >())
);
- return Sequence< DriverPropertyInfo >(&(aDriverInfo[0]),aDriverInfo.size());
+ return Sequence< DriverPropertyInfo >(aDriverInfo.data(),aDriverInfo.size());
} // if ( acceptsURL(url) )
{
::connectivity::SharedResources aResources;