From 97b7ada0388d0b0da4303cf95443339ab0f3523b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 24 Jan 2018 14:54:19 +0200 Subject: loplugin:datamembershadow in SdXMLShapeLinkContext in this case, we can just drop the child member and re-use the parent member. The parent class barely contains any logic anyway. Change-Id: I520217c04a38b66323a76bf5fddb476bd3fc8e15 Reviewed-on: https://gerrit.libreoffice.org/48551 Tested-by: Jenkins Reviewed-by: Noel Grandin --- compilerplugins/clang/datamembershadow.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/datamembershadow.cxx b/compilerplugins/clang/datamembershadow.cxx index 040743bad028..520e1195f0ca 100644 --- a/compilerplugins/clang/datamembershadow.cxx +++ b/compilerplugins/clang/datamembershadow.cxx @@ -90,8 +90,6 @@ bool DataMemberShadow::VisitFieldDecl(FieldDecl const * fieldDecl) return true; if (loplugin::isSamePathname(aFileName, SRCDIR "/vcl/unx/generic/print/genpspgraphics.cxx")) return true; - if (loplugin::isSamePathname(aFileName, SRCDIR "/xmloff/source/draw/ximplink.hxx")) - return true; const CXXRecordDecl* parentCXXRecordDecl = dyn_cast(fieldDecl->getDeclContext()); if (!parentCXXRecordDecl) { -- cgit