Use a local variable of the specific ScAccessibleSpreadsheet type instead of the abstract XAccessible UNO interface. This drops the need to explicitly query for the XAccessibleTable interface, as ScAccessibleSpreadsheet is known to implement it. Change-Id: I2c7ab68c699f22d919f75d12758cc0b062de4750 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211203 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>