From 12ba9e3cad05a665aee2150ef831f0dbc92d7e2d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 13 Apr 2015 13:50:56 +0200 Subject: loplugin:staticmethods Change-Id: Ib0c0841e48814d1a6e13bcd4575725d86ffa5e5e --- compilerplugins/clang/staticmethods.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/staticmethods.cxx b/compilerplugins/clang/staticmethods.cxx index 8d3602bf5766..e076e6a9f417 100644 --- a/compilerplugins/clang/staticmethods.cxx +++ b/compilerplugins/clang/staticmethods.cxx @@ -157,7 +157,8 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl) || fqn == "OleEmbeddedObject::GetRidOfComponent" || fqn == "connectivity::mozab::ProfileAccess::isProfileLocked" || startsWith(fqn, "SbxDecimal::") - || fqn == "SbiDllMgr::Call" || fqn == "SbiDllMgr::FreeDll") { + || fqn == "SbiDllMgr::Call" || fqn == "SbiDllMgr::FreeDll" + || fqn == "SfxApplication::InitializeDde" || fqn == "SfxApplication::RemoveDdeTopic") { return true; } // used in a function-pointer-table @@ -179,7 +180,7 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl) return true; } -loplugin::Plugin::Registration X("staticmethods", true); +loplugin::Plugin::Registration X("staticmethods", false); } -- cgit