The parent is always an OAccessible subclass. Pass that more concrete type for the parent param instead of the abstract XAccessible UNO interface. Change-Id: I4880448db03dcc89076dc72d45902c0bf2f16d83 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210632 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>