diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-13 16:36:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-13 19:25:02 +0100 |
commit | fb1825bf3f82eb6b69c6534207c9c89cc535f18b (patch) | |
tree | f8b98f5cb17ae087f44117c71efaa4ebfff27ce2 /compilerplugins | |
parent | 724d34d58b437843e40aaa74008d94cac1465cea (diff) |
loplugin:unusedmethods remove unused code from canvas
which my plugin had previously been ignoring. Since that time, the
plugin has gotten a little smarter, and makes less mistakes.
Change-Id: Id791c932fd056ae7da833436c4dd2600b69a0bfa
Reviewed-on: https://gerrit.libreoffice.org/51212
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rwxr-xr-x | compilerplugins/clang/unusedmethods.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compilerplugins/clang/unusedmethods.py b/compilerplugins/clang/unusedmethods.py index 58521e6b45b3..1c080b64dd45 100755 --- a/compilerplugins/clang/unusedmethods.py +++ b/compilerplugins/clang/unusedmethods.py @@ -141,12 +141,6 @@ for d in definitionSet: continue if method == "class tools::SvRef<class FontCharMap> FontCharMap::GetDefaultMap(_Bool)": continue - # too much template magic here for my plugin - if ( ("cairocanvas::" in d[1]) - or ("canvas::" in d[1]) - or ("oglcanvas::" in d[1]) - or ("vclcanvas::" in d[1])): - continue # these are loaded by dlopen() from somewhere if "get_implementation" in d[1]: continue |