diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2018-08-24 21:10:40 +0300 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-24 21:25:30 +0200 |
commit | d153882ca640ccc39460a09a6d5d10f1720c5b94 (patch) | |
tree | 76932d5ca84f70f86b59d397df4944db8072eff8 /sw | |
parent | b324722ace08f5d4309ad8c4d7edc411dd4f2882 (diff) |
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.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
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(); |