Those comments don't match what's actually implemented, e.g.:
/** Returns a list of all supported services. In this case that is just
the AccessibleContext service.
*/
virtual css::uno::Sequence< OUString> SAL_CALL
getSupportedServiceNames() override;
is out of line with the actual implementation:
Sequence<OUString> SwAccessiblePreview::getSupportedServiceNames( )
{
return {u"com.sun.star.text.AccessibleTextDocumentPageView"_ustr,
sAccessibleServiceName};
}
Change-Id: Ifdc7e3ed8aaeacf06156a425f8a35726a7f06b26
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186826
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>