Kaydet (Commit) a83a0345 authored tarafından Aron Budea's avatar Aron Budea

tdf#113548: another case of crash in GrabFocus during dispose

Change-Id: I70776b80f70985a122e28854177c6d0c43839d65
Reviewed-on: https://gerrit.libreoffice.org/44113Reviewed-by: 's avatarAron Budea <aron.budea@collabora.com>
Tested-by: 's avatarAron Budea <aron.budea@collabora.com>
üst 97ffdd33
......@@ -793,7 +793,8 @@ void SwSrcEditWindow::HandleWheelCommand( const CommandEvent& rCEvt )
void SwSrcEditWindow::GetFocus()
{
m_pOutWin->GrabFocus();
if (m_pOutWin)
m_pOutWin->GrabFocus();
}
static bool lcl_GetLanguagesForEncoding(rtl_TextEncoding eEnc, LanguageType aLanguages[])
......
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