diff options
author | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-01-13 16:08:17 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-16 11:23:08 +0000 |
commit | 36f83debd1b8a200515fafdf66bdd7a4aec01ad5 (patch) | |
tree | d0937576ae8b06a5aa5252a9e1b6d74393215282 | |
parent | 502ef71db74c3cdb1433c3402a0d93971dc47f1b (diff) |
fdo#38515: Fixed crasher in dialog destructor
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index ae7dfadea1..fcfb2f8f4d 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -358,6 +358,9 @@ SwMultiTOXTabDialog::~SwMultiTOXTabDialog() { SW_MOD()->GetModuleConfig()->SetShowIndexPreview(aShowExampleCB.IsChecked()); + // fdo#38515 Avoid setting focus on deleted controls in the destructors + EnableInput( sal_False ); + for(sal_uInt16 i = 0; i < nTypeCount; i++) { delete pFormArr[i]; |