tdf#145538: Use range based for loops
Change-Id: I6f8539869b991c2c71044e1a18dba69641ffabe8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177505 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
This commit is contained in:
parent
6fa141074b
commit
7bd7adc338
1 changed files with 1 additions and 2 deletions
|
@ -555,9 +555,8 @@ static void lcl_collectAllPredOrSuccRanges(
|
|||
return;
|
||||
ScRange const & rFrontRange = rSrcRanges.front();
|
||||
ScDetectiveFunc aDetFunc(rDoc, rFrontRange.aStart.Tab());
|
||||
for (size_t i = 0, n = rSrcRanges.size(); i < n; ++i)
|
||||
for (ScRange const & r : rSrcRanges)
|
||||
{
|
||||
ScRange const & r = rSrcRanges[i];
|
||||
if (bPred)
|
||||
{
|
||||
aDetFunc.GetAllPreds(
|
||||
|
|
Loading…
Reference in a new issue