loplugin:crosscast (clang-cl)
> winaccessibility/source/service/AccTopWindowListener.cxx(47,36): error: suspicious dynamic cross cast from 'css::accessibility::XAccessible *' to 'VCLXAccessibleComponent *' [loplugin:crosscast] > else if (auto pvclxcomponent = dynamic_cast<VCLXAccessibleComponent*>(pAccessible)) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Change-Id: Iee7585dd2fa0d92af3be6b89d7d08326de3d1e7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145380 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
1f9317e341
commit
d66a97d562
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class AccessibleRelationSetHelper;
|
|||
typedef ::cppu::ImplHelper1<
|
||||
css::lang::XServiceInfo > VCLXAccessibleComponent_BASE;
|
||||
|
||||
class TOOLKIT_DLLPUBLIC VCLXAccessibleComponent
|
||||
class TOOLKIT_DLLPUBLIC SAL_LOPLUGIN_ANNOTATE("crosscast") VCLXAccessibleComponent
|
||||
:public comphelper::OAccessibleExtendedComponentHelper
|
||||
,public VCLXAccessibleComponent_BASE
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue