Instead of returning a reference to the abstract XModel3 interface, return the more concrete SfxBaseModel. Drop some now unnecessary casting/UNO querying in callers. More simplification to avoid UNO querying elsewhere will follow in upcoming commits. Change-Id: I05ad3a4bccfb080ccbee3af956451def3bcc94fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211053 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins