https://bugs.documentfoundation.org/show_bug.cgi?id=159213
Julien Nabet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |haveBacktrace CC| |[email protected] --- Comment #6 from Julien Nabet <[email protected]> --- Michael: with this patch, LO doesn't crash: diff --git a/vcl/qt5/QtAccessibleEventListener.cxx b/vcl/qt5/QtAccessibleEventListener.cxx index d6a404e6947e..ff813e6bcbfd 100644 --- a/vcl/qt5/QtAccessibleEventListener.cxx +++ b/vcl/qt5/QtAccessibleEventListener.cxx @@ -211,13 +211,13 @@ void QtAccessibleEventListener::notifyEvent(const css::accessibility::Accessible case AccessibleEventId::CHILD: { Reference<XAccessible> xChild; - if (aEvent.NewValue >>= xChild) + if ((aEvent.NewValue >>= xChild) && xChild.is()) { QAccessible::updateAccessibility(new QAccessibleEvent( QtAccessibleRegistry::getQObject(xChild), QAccessible::ObjectCreated)); return; } - if (aEvent.OldValue >>= xChild) + if ((aEvent.OldValue >>= xChild) && xChild.is()) { QAccessible::updateAccessibility(new QAccessibleEvent( QtAccessibleRegistry::getQObject(xChild), QAccessible::ObjectDestroyed)); Does it seem OK to you? -- You are receiving this mail because: You are the assignee for the bug.
