summaryrefslogtreecommitdiff
path: root/sw/source/ui/index
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-20 15:00:03 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 13:01:48 +0100
commitd1091fd50adb1c01d1b1393fd662278611f9e7e1 (patch)
treedb279bb0b9641b8e912c55d72ce4a9a7ccb2f4b5 /sw/source/ui/index
parent58a43332b3a86db3756e6ad18e31189969c85364 (diff)
re-insert erroneously converted delete calls.
Change-Id: Iebdf2af3866d884289f6913646106fe3f2d4dde5
Diffstat (limited to 'sw/source/ui/index')
-rw-r--r--sw/source/ui/index/cnttab.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index e0fd48353790..e65a90414f75 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -2789,6 +2789,8 @@ void SwTokenWindow::SetForm(SwForm& rForm, sal_uInt16 nL)
if(pForm)
{
+ for (ctrl_iterator iter = aControlList.begin(); iter != aControlList.end(); ++iter)
+ iter->disposeAndClear();
//apply current level settings to the form
for (auto it = aControlList.begin(); it != aControlList.end(); ++it)
it->disposeAndClear();