sw/source/ui/index/cnttab.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit 4914b23e7e91b184d69eb00a74ce1c463c5754a7 Author: Cédric Bosdonnat <cedric.bosdonnat....@free.fr> Date: Fri Jan 13 16:08:17 2012 +0100
fdo#38515: Fixed crasher in dialog destructor diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index 414bc5f..b4fc42a 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];
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits