[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sw/source
Michael Meeks
michael at kemper.freedesktop.org
Mon Jan 16 03:23:32 PST 2012
sw/source/ui/index/cnttab.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 36f83debd1b8a200515fafdf66bdd7a4aec01ad5
Author: Cédric Bosdonnat <cedric.bosdonnat.ooo at free.fr>
Date: Fri Jan 13 16:08:17 2012 +0100
fdo#38515: Fixed crasher in dialog destructor
Signed-off-by: Michael Meeks <michael.meeks at suse.com>
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index ae7dfad..fcfb2f8 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];
More information about the Libreoffice-commits
mailing list