Window::GetAccessible returns an OAccessible. Use that more specific type instead of the abstract XAccessible UNO interface. OAccessible also implements the XAccessibleContext interface itself, so there is no need to request that one separately. Change-Id: Ia40a9e5684ce321f0e5aff7ccd34bd3c488e1ab9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210437 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins