sw/source/ui/index/cnttab.cxx | 2 -- 1 file changed, 2 deletions(-) New commits: commit d153882ca640ccc39460a09a6d5d10f1720c5b94 Author: Arkadiy Illarionov <qar...@gmail.com> AuthorDate: Fri Aug 24 21:10:40 2018 +0300 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Aug 24 21:25:30 2018 +0200
Remove redundant loop, tdf#96099 follow-up Change-Id: I6318a526c8ea73ef32c18038c9bb5feeffc07b52 Reviewed-on: https://gerrit.libreoffice.org/59583 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index d5187dae1b0c..82ae77962ea9 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -2811,8 +2811,6 @@ void SwTokenWindow::SetForm(SwForm& rForm, sal_uInt16 nL) if(m_pForm) { - for (auto& aControl : m_aControlList) - aControl.disposeAndClear(); //apply current level settings to the form for (auto& aControl : m_aControlList) aControl.disposeAndClear(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits