diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-03-18 12:36:02 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-03-25 15:14:44 +0200 |
commit | f365b17bf170c8ed1baae299a2d719774fcc4305 (patch) | |
tree | 312378ff5e6ef487ab65d7a1d011307486941c56 /l10ntools/source/localize.cxx | |
parent | dd5df4ccb33048fa5fa8f85b2e6e69a6a225be57 (diff) |
Use for-range loops in some modules
jvmaccess, jvmfwk, l10ntools, libreofficekit and linguistic
Change-Id: I9d290d1098b25ccb3aee19d2df18c18f4aa65105
Reviewed-on: https://gerrit.libreoffice.org/51495
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'l10ntools/source/localize.cxx')
-rw-r--r-- | l10ntools/source/localize.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx index 9a2cf8ad4b94..98098b775456 100644 --- a/l10ntools/source/localize.cxx +++ b/l10ntools/source/localize.cxx @@ -247,8 +247,8 @@ void handleFilesOfDir( ///Handle files in lexical order std::sort(aFiles.begin(), aFiles.end()); - for( auto aIt = aFiles.begin(); aIt != aFiles.end(); ++aIt ) - handleFile(rProject, *aIt, rPotDir); + for (auto const& elem : aFiles) + handleFile(rProject, elem, rPotDir); } bool includeProject(const OString& rProject) { |