path: root/vcl/source/control
diff options
authorCaolán McNamara <>2016-07-13 16:32:43 +0100
committerAndras Timar <>2016-07-18 11:18:58 +0200
commit7f50a2253fec328b6bd2dbdae8be6c2d4dc9928f (patch)
tree3b656697d411ac2bbc30b5359f7d0930a391f565 /vcl/source/control
parentb40be03b49f3352a309bec6b0c4e37cac9c4bb88 (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 <> 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 (cherry picked from commit c615943bda57eadfa73c14a7314938aabe0bd16f) Change-Id: Id31561e009a1f0ec9272a0e7216296e4017e5688 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Miklos Vajna <> (cherry picked from commit 583207377705dea2bfe09db3e33d7947c473d862)
Diffstat (limited to 'vcl/source/control')
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index e15d09e5add7..121e2c0a238c 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -1208,6 +1208,8 @@ void ListBox::EnableMultiSelection( bool bMulti, bool bStackSelection )
bool ListBox::IsMultiSelectionEnabled() const
+ if (!mpImplLB)
+ return false;
return mpImplLB->IsMultiSelectionEnabled();