Kaydet (Commit) 3801e506 authored tarafından Michael Meeks's avatar Michael Meeks

Protect against event emission during dispose.

Change-Id: I8c97fdb637a8ea4d50bef5815ef3716a4be03688
üst d4a12421
...@@ -254,6 +254,9 @@ void SwRedlineAcceptDlg::InitAuthors() ...@@ -254,6 +254,9 @@ void SwRedlineAcceptDlg::InitAuthors()
{ {
SwWrtShell* pSh = ::GetActiveView()->GetWrtShellPtr(); SwWrtShell* pSh = ::GetActiveView()->GetWrtShellPtr();
if (!aTabPagesCTRL)
return;
SvxTPFilter *pFilterPage = aTabPagesCTRL->GetFilterPage(); SvxTPFilter *pFilterPage = aTabPagesCTRL->GetFilterPage();
std::vector<OUString> aStrings; std::vector<OUString> aStrings;
......
...@@ -1357,7 +1357,7 @@ void TabControl::GetFocus() ...@@ -1357,7 +1357,7 @@ void TabControl::GetFocus()
void TabControl::LoseFocus() void TabControl::LoseFocus()
{ {
if( ! mpTabCtrlData->mpListBox ) if( mpTabCtrlData && ! mpTabCtrlData->mpListBox )
HideFocus(); HideFocus();
Control::LoseFocus(); Control::LoseFocus();
} }
......
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