Kaydet (Commit) 05b9bf20 authored tarafından Arkadiy Illarionov's avatar Arkadiy Illarionov Kaydeden (comit) Noel Grandin

Use proper iterator in loop body

Loop iterates over children to set their state
7967e5e5 follow-up

Change-Id: I425b3204fb3581a22e9ed2b00c7b8c24ed2060a8
Reviewed-on: https://gerrit.libreoffice.org/66333
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 479626aa
...@@ -1153,7 +1153,7 @@ void ScCheckListMenuWindow::setAllMemberState(bool bSet) ...@@ -1153,7 +1153,7 @@ void ScCheckListMenuWindow::setAllMemberState(bool bSet)
SvTreeListEntries& rEntries = (*itr)->GetChildEntries(); SvTreeListEntries& rEntries = (*itr)->GetChildEntries();
for (auto it = rEntries.begin(), itEnd = rEntries.end(); it != itEnd; ++ it) for (auto it = rEntries.begin(), itEnd = rEntries.end(); it != itEnd; ++ it)
{ {
maChecks->CheckEntry(*itr, bSet); maChecks->CheckEntry(it->get(), bSet);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment