diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-03-18 11:35:22 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-03-29 08:29:19 +0200 |
commit | 29db56381dc19baa77c39f4f2f69c8c587eddcad (patch) | |
tree | a1379a5d5f732b2dd68089550b4428d2a5418d75 /include | |
parent | ad284bde785fd1273565163e217be6bc8d4b7da9 (diff) |
Use for-range loops in include/connectivity
Change-Id: I4a55fbb06f3e919cc81e3462b23f8d94f6292a9b
Reviewed-on: https://gerrit.libreoffice.org/51494
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'include')
-rw-r--r-- | include/connectivity/FValue.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/connectivity/FValue.hxx b/include/connectivity/FValue.hxx index 4849ddad5e61..65302f814c72 100644 --- a/include/connectivity/FValue.hxx +++ b/include/connectivity/FValue.hxx @@ -512,8 +512,8 @@ namespace connectivity OValueRefVector(){} OValueRefVector(size_t _st) : ODeleteVector< ORowSetValueDecoratorRef >(_st) { - for(OValueRefVector::Vector::iterator aIter = get().begin() ; aIter != get().end() ;++aIter) - *aIter = new ORowSetValueDecorator; + for (auto & elem : get()) + elem = new ORowSetValueDecorator; } }; |