summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2018-08-24 21:10:40 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-24 21:25:30 +0200
commitd153882ca640ccc39460a09a6d5d10f1720c5b94 (patch)
tree76932d5ca84f70f86b59d397df4944db8072eff8
parentUpdate git submodules (diff)
downloadcore-d153882ca640ccc39460a09a6d5d10f1720c5b94.tar.gz
core-d153882ca640ccc39460a09a6d5d10f1720c5b94.zip
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>
-rw-r--r--sw/source/ui/index/cnttab.cxx2
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();