diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-17 10:20:34 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-18 09:13:56 +0100 |
commit | b007889438594026337d1a378edff09115453c13 (patch) | |
tree | 6a257268bed9e6f2ec0cc27347d59d04b98d4383 /sw/uiconfig/swriter/ui/editsectiondialog.ui | |
parent | 603239c7b63f3de80641b03ca15edf80355b711c (diff) |
SwMailMergeWizardExecutor::EndDialogHdl: avoid accessing already deleted view
Valgrind points out that SwView::GetMailMergeConfigItem() is called on a
pointer that is already deleted. SwView gets deleted, because it is
closed by SwMailMergeWizardExecutor::EndDialogHdl().
Since the new MM toolbar the source view is never closed (since the
toolbar is part of the source view), so adapt code here to always show
the source frame at the end of the wizard, instead of conditionally
showing or closing it.
With this, MM to a merged document or individual documents no longer
crashes for me.
Change-Id: If90302f0619f621420e832a1acc0a05865b8f87d
Diffstat (limited to 'sw/uiconfig/swriter/ui/editsectiondialog.ui')
0 files changed, 0 insertions, 0 deletions