From c615943bda57eadfa73c14a7314938aabe0bd16f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 13 Jul 2016 16:32:43 +0100 Subject: Related: rhbz#1343766 a11y queries during dispose trigger listbox crashes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Change-Id: Id31561e009a1f0ec9272a0e7216296e4017e5688 --- vcl/source/control/listbox.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl') 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(); } -- cgit