summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-04-30 22:04:47 +0200
committerCaolán McNamara <caolanm@redhat.com>2017-05-01 17:55:20 +0200
commit64cce59975d540f384880034ed3297a120d3d408 (patch)
tree657b732e39e25e33f09c20587588faa3845a5de0
parent1c8d6e6ec2ae3e5ee38ab343b662db30f48fc7f5 (diff)
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@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx2
1 files changed, 1 insertions, 1 deletions
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()));