summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-06-13 19:58:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-06-13 22:07:57 +0200
commit41c465b5ee443ec04441077b5eb80f263336ea8a (patch)
tree5dff71909ec6080e8132cb99e2a0bb25a768b9ea /sc/source
parentfc617677dedc2ee6f52149bac71195420bc351f3 (diff)
tdf#133855 return early if disposed by FilterSelect
Change-Id: I532cf28039f2a63cbfd68aff44810cf6a5d40afc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96264 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/view/gridwin.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 9fbc6798d320..01783fc98e92 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -300,6 +300,11 @@ IMPL_LINK_NOARG(ScFilterListBox, AsyncSelectHdl, void*, void)
{
pGridWin->FilterSelect( nSel );
nAsyncSelectHdl = nullptr;
+ if (!pGridWin)
+ {
+ // tdf#133855 we got disposed by FilterSelect
+ return;
+ }
pGridWin->ClickExtern();
}