From 64cce59975d540f384880034ed3297a120d3d408 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 30 Apr 2017 22:04:47 +0200 Subject: tdf#107102: fix crash in ScCheckListMenuWindow::CreateAccessible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sc/source/ui/cctrl/checklistmenu.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') 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 ScCheckListMenuWindow::CreateAccessible() { - if (!mxAccessible.is()) + if (!mxAccessible.is() && maEdSearch) { mxAccessible.set(new ScAccessibleFilterTopWindow( GetAccessibleParentWindow()->GetAccessible(), this, getName())); -- cgit