vcl/source/control/listbox.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 4dbcd1649d4be5366362cdbcb85c1f0566fa082d
Author: Caolán McNamara <caol...@redhat.com>
Date:   Wed Jul 13 16:32:43 2016 +0100

    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 <caol...@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
    (cherry picked from commit c615943bda57eadfa73c14a7314938aabe0bd16f)
    Reviewed-on: https://gerrit.libreoffice.org/27188
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk>

diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx
index f5d0dad..a5dbe99 100644
--- a/vcl/source/control/listbox.cxx
+++ b/vcl/source/control/listbox.cxx
@@ -1189,6 +1189,8 @@ void ListBox::EnableMultiSelection( bool bMulti, bool 
bStackSelection )
 
 bool ListBox::IsMultiSelectionEnabled() const
 {
+    if (!mpImplLB)
+        return false;
     return mpImplLB->IsMultiSelectionEnabled();
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to