[Libreoffice-commits] core.git: sc/source

Julien Nabet serval2412 at yahoo.fr
Mon May 1 15:55:53 UTC 2017


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

New commits:
commit 64cce59975d540f384880034ed3297a120d3d408
Author: Julien Nabet <serval2412 at 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 <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at 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()));


More information about the Libreoffice-commits mailing list