[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - vcl/source

Caolán McNamara caolanm at redhat.com
Fri Jul 15 12:56:50 UTC 2016


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

New commits:
commit 4dbcd1649d4be5366362cdbcb85c1f0566fa082d
Author: Caolán McNamara <caolanm at 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 <caolanm at 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 <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at 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();
 }
 


More information about the Libreoffice-commits mailing list