diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2018-03-29 17:18:42 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-04-07 11:28:20 +0200 |
commit | f4082279078b59f0960d6683d0d039756354eccd (patch) | |
tree | cc600acb68bba31dc0e3dcfe6bb2063603e36ef6 /sw | |
parent | e336b70550a5615a9b6fd1848c5785fe54c3156a (diff) |
Avoid crash-reporter crash.
http://crashreport.libreoffice.org/stats/crash_details/f5086a7d-3c67-46e4-945e-e0882a604eee
Change-Id: Ic9ceed2e736a4ad1c155a31d3b2dc453e6a562aa
Reviewed-on: https://gerrit.libreoffice.org/52119
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/52516
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/utlui/navipi.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx index 47d261547c6e..d45454b5bec3 100644 --- a/sw/source/uibase/utlui/navipi.cxx +++ b/sw/source/uibase/utlui/navipi.cxx @@ -938,6 +938,9 @@ IMPL_LINK( SwNavigationPI, MenuSelectHdl, Menu *, pMenu, bool ) void SwNavigationPI::UpdateListBox() { + if (isDisposed()) + return; + m_aDocListBox->SetUpdateMode(false); m_aDocListBox->Clear(); SwView *pActView = GetCreateView(); |