summaryrefslogtreecommitdiff
path: root/sot/source/base
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-10 14:39:07 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-11 06:54:34 +0000
commit265068d65b39688b8a4756dfbcd46453dd1f9b70 (patch)
tree6936185b2f2f46b99646d00e542cdde845ef073d /sot/source/base
parent9e0335d1db22bd3ad3f4bb249b30a00fd55558f4 (diff)
clang-tidy modernize-loop-convert in scripting to svtools
Change-Id: I98229d14109cf243839d632feabde1391ea9bad5 Reviewed-on: https://gerrit.libreoffice.org/24847 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sot/source/base')
-rw-r--r--sot/source/base/filelist.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/base/filelist.cxx b/sot/source/base/filelist.cxx
index 49346445e271..b22e2c62acda 100644
--- a/sot/source/base/filelist.cxx
+++ b/sot/source/base/filelist.cxx
@@ -48,8 +48,8 @@ void FileList::ClearAll()
FileList& FileList::operator=( const FileList& rFileList )
{
- for ( size_t i = 0, n = rFileList.aStrList.size(); i < n; ++i )
- aStrList.push_back( rFileList.aStrList[ i ] );
+ for (const auto & i : rFileList.aStrList)
+ aStrList.push_back( i );
return *this;
}