Kaydet (Commit) 4914b23e authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

fdo#38515: Fixed crasher in dialog destructor

üst ab84770b
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment