summaryrefslogtreecommitdiffstats
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-11 11:22:46 +0200
committerNoel Grandin <noel@peralex.com>2016-01-11 11:59:18 +0200
commita3f3cead5d7fed99ea78c2a12b8671f18d156e23 (patch)
treeb55d001bf5fa084c9df4b2d75595b061ecf14e53 /compilerplugins
parenttdf#96655 - clear non-offscreen status bar controls before render. (diff)
downloadcore-a3f3cead5d7fed99ea78c2a12b8671f18d156e23.tar.gz
core-a3f3cead5d7fed99ea78c2a12b8671f18d156e23.zip
loplugin: unused return values in desktop
Change-Id: Iec7a150c6bdb3b25fe24d711e3e453e1d8a5d26e
Diffstat (limited to 'compilerplugins')
-rwxr-xr-xcompilerplugins/clang/unusedmethods.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/unusedmethods.py b/compilerplugins/clang/unusedmethods.py
index aca8591fe0a8..48344279349a 100755
--- a/compilerplugins/clang/unusedmethods.py
+++ b/compilerplugins/clang/unusedmethods.py
@@ -255,7 +255,7 @@ for d in definitionSet:
if d[0] == "void":
continue
# ignore UNO constructor method entrypoints
- if "_get_implementation" in d[1]:
+ if "_get_implementation" in d[1] or "_getFactory" in d[1]:
continue
# the plugin can't see calls to these
if "operator new" in d[1]: