https://bugs.freedesktop.org/show_bug.cgi?id=47275

--- Comment #29 from Tor Lillqvist <[email protected]> ---
Fixed in master, cherry-pick appreciated:

commit 383dccd0a2ed06d7c77a31422413e8ce5569684f
Author: Tor Lillqvist <[email protected]>
Date:   Wed Sep 26 13:42:54 2012 +0300

    Fix crash on Mac when a11y in use, and avoid infinite loop, fdo#47275

    The code used static_cast blindly even if the object not necessarily
    was of the assumed subclass. Crash followed. Use dynamic_cast instead
    to be able to check, like the corresponding code for GTK a11y. After
    that fix we then got a nice infinite loop whn an object apparently is
    its own parent. Detect that and break out.

    Whether accessibility for the affected parts of the GUI actually works
    now for its real use cases, no idea. But anything is better than a
    crash...

    Change-Id: I862234e168db0bd19d185b0f1f73b733b570cac4

 vcl/aqua/source/a11y/aqua11yfocustracker.cxx |   15 ++++++++++++++-
 vcl/aqua/source/a11y/aqua11ywrapper.mm       |    7 ++++++-
 2 files changed, 20 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to