summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-03 10:53:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-03 14:15:37 +0200
commit31d4562ca9e21f7b04960ac083765733e9a55118 (patch)
tree977b0cdd4a768a2eed9fef6a0f79ecff0b3250e6 /connectivity/source/sdbcx
parentbce779932b59990fbdf8278993f8bb9514781de2 (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 'connectivity/source/sdbcx')
-rw-r--r--connectivity/source/sdbcx/VDescriptor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/sdbcx/VDescriptor.cxx b/connectivity/source/sdbcx/VDescriptor.cxx
index 5c9c899f7991..70463eadada5 100644
--- a/connectivity/source/sdbcx/VDescriptor.cxx
+++ b/connectivity/source/sdbcx/VDescriptor.cxx
@@ -86,9 +86,9 @@ namespace connectivity
describeProperties( aProperties );
if ( isNew() )
- std::for_each( aProperties.getArray(), aProperties.getArray() + aProperties.getLength(), ResetROAttribute() );
+ std::for_each( aProperties.begin(), aProperties.end(), ResetROAttribute() );
else
- std::for_each( aProperties.getArray(), aProperties.getArray() + aProperties.getLength(), SetROAttribute() );
+ std::for_each( aProperties.begin(), aProperties.end(), SetROAttribute() );
return new ::cppu::OPropertyArrayHelper( aProperties );
}