diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-13 16:32:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-13 16:34:21 +0100 |
commit | c615943bda57eadfa73c14a7314938aabe0bd16f (patch) | |
tree | 96cc318dcea34ac909762a386ae45d2118c6afa6 /vcl | |
parent | 17722af09e527641db7c080013a94ea13f904377 (diff) |
Related: rhbz#1343766 a11y queries during dispose trigger listbox crashes
though not able to reproduce, I have an in-house complaint similar to
commit f120abb446bf3f5230ed06a3b148654dde36bb94
Author: Caolán McNamara <caolanm@redhat.com>
Date: Wed Jun 8 11:35:15 2016 +0100
Resolves: rhbz#1343766 a11y queries during dispose trigger combobox crashes
except with a listbox in the bt
Change-Id: Id31561e009a1f0ec9272a0e7216296e4017e5688
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/listbox.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx index 5b35044b2aab..defffb2aabe6 100644 --- a/vcl/source/control/listbox.cxx +++ b/vcl/source/control/listbox.cxx @@ -1190,6 +1190,8 @@ void ListBox::EnableMultiSelection( bool bMulti, bool bStackSelection ) bool ListBox::IsMultiSelectionEnabled() const { + if (!mpImplLB) + return false; return mpImplLB->IsMultiSelectionEnabled(); } |