sc/source/ui/cctrl/checklistmenu.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 64cce59975d540f384880034ed3297a120d3d408
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Sun Apr 30 22:04:47 2017 +0200

    tdf#107102: fix crash in ScCheckListMenuWindow::CreateAccessible
    
    by checking maEdSearch in addition of !mxAccessible.is()
    See http://bugs.documentfoundation.org/attachment.cgi?id=132608 for bt
    
    Change-Id: I2cf7f28daaa6d371d3be0d21bb7f140ff6bb8c8c
    Reviewed-on: https://gerrit.libreoffice.org/37110
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sc/source/ui/cctrl/checklistmenu.cxx 
b/sc/source/ui/cctrl/checklistmenu.cxx
index 6012c606efae..347021ca3757 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -1399,7 +1399,7 @@ void ScCheckListMenuWindow::updateMemberParents( 
SvTreeListEntry* pLeaf, size_t
 
 Reference<XAccessible> ScCheckListMenuWindow::CreateAccessible()
 {
-    if (!mxAccessible.is())
+    if (!mxAccessible.is() && maEdSearch)
     {
         mxAccessible.set(new ScAccessibleFilterTopWindow(
             GetAccessibleParentWindow()->GetAccessible(), this, getName()));
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to