diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-06 10:14:38 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-05-07 12:24:31 +0000 |
commit | 9613b493172fe9aa8efd9c9c090f82ca2e89cf21 (patch) | |
tree | 3cc0d212aea1de270160e295a70c9f08f2e84334 /sc/source/filter/oox/formulabuffer.cxx | |
parent | 464348e82d8cbb0a6d3e5638da3f737f3e6f2d00 (diff) |
clang-tidy modernize-loop-convert in sc
Change-Id: I620028d69b11ea0469efd7b02ac7bbc7edab1066
Reviewed-on: https://gerrit.libreoffice.org/24690
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'sc/source/filter/oox/formulabuffer.cxx')
-rw-r--r-- | sc/source/filter/oox/formulabuffer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx index 9c010cb39f68..14e3f45eaa1c 100644 --- a/sc/source/filter/oox/formulabuffer.cxx +++ b/sc/source/filter/oox/formulabuffer.cxx @@ -425,10 +425,10 @@ void FormulaBuffer::finalizeImport() xThread->launch(); } - for (size_t i = 0, n = aThreads.size(); i < n; ++i) + for (rtl::Reference<WorkerThread> & xThread : aThreads) { - if (aThreads[i].is()) - aThreads[i]->join(); + if (xThread.is()) + xThread->join(); } aThreads.clear(); |