summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-13 13:50:56 +0200
committerNoel Grandin <noel@peralex.com>2015-04-23 13:08:48 +0200
commit12ba9e3cad05a665aee2150ef831f0dbc92d7e2d (patch)
treedc50f9ee75617fa1e33a2503278501511c97afff /compilerplugins
parent6d5ae48427d1c59e65f0bfc16cf075eaa4cdca17 (diff)
loplugin:staticmethods
Change-Id: Ib0c0841e48814d1a6e13bcd4575725d86ffa5e5e
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/staticmethods.cxx5
1 files changed, 3 insertions, 2 deletions
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<StaticMethods> X("staticmethods", true);
+loplugin::Plugin::Registration<StaticMethods> X("staticmethods", false);
}