Kaydet (Commit) 64cce599 authored tarafından Julien Nabet's avatar Julien Nabet Kaydeden (comit) Caolán McNamara

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/37110Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 1c8d6e6e
......@@ -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()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment