diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-03 10:53:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-03 14:15:37 +0200 |
commit | 31d4562ca9e21f7b04960ac083765733e9a55118 (patch) | |
tree | 977b0cdd4a768a2eed9fef6a0f79ecff0b3250e6 /dbaccess | |
parent | bce779932b59990fbdf8278993f8bb9514781de2 (diff) |
use begin()/end() when working with Sequence
Change-Id: Icf9da6a24d72c073338f6fbb513d7250b3898015
Reviewed-on: https://gerrit.libreoffice.org/39469
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/dataaccess/connection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/dataaccess/connection.cxx b/dbaccess/source/core/dataaccess/connection.cxx index 2a19133c1f8c..d72e534bb450 100644 --- a/dbaccess/source/core/dataaccess/connection.cxx +++ b/dbaccess/source/core/dataaccess/connection.cxx @@ -767,7 +767,7 @@ void OConnection::impl_checkTableQueryNames_nothrow() { Reference< XNameAccess > xTables( getTables() ); Sequence< OUString > aTableNames( xTables->getElementNames() ); - std::set< OUString > aSortedTableNames( aTableNames.getConstArray(), aTableNames.getConstArray() + aTableNames.getLength() ); + std::set< OUString > aSortedTableNames( aTableNames.begin(), aTableNames.end() ); Reference< XNameAccess > xQueries( getQueries() ); Sequence< OUString > aQueryNames( xQueries->getElementNames() ); |