diff options
author | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-01-13 16:08:17 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-01-13 16:23:14 +0100 |
commit | e611a2edceffba59e153e802ca15e8041301a117 (patch) | |
tree | b9db61b4d46ce6cab26285fdd5702c42b29516de | |
parent | f80ed35b8b2f12a89dee257b82022141e0486362 (diff) |
fdo#38515: Fixed crasher in dialog destructor
-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 dfb2ab506b06..30f3a847d0a3 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -356,6 +356,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]; |