sw/source/uibase/docvw/srcedtw.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit a83a0345e493b928b0b0b93bf106ddb71df69893 Author: Aron Budea <aron.bu...@collabora.com> Date: Tue Oct 31 13:15:34 2017 +0100 tdf#113548: another case of crash in GrabFocus during dispose Change-Id: I70776b80f70985a122e28854177c6d0c43839d65 Reviewed-on: https://gerrit.libreoffice.org/44113 Reviewed-by: Aron Budea <aron.bu...@collabora.com> Tested-by: Aron Budea <aron.bu...@collabora.com> diff --git a/sw/source/uibase/docvw/srcedtw.cxx b/sw/source/uibase/docvw/srcedtw.cxx index 5d6a131bfcbb..bf49abb9bf7c 100644 --- a/sw/source/uibase/docvw/srcedtw.cxx +++ b/sw/source/uibase/docvw/srcedtw.cxx @@ -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[]) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits