loplugin:unusedmethods in sc..vcl

Change-Id: I70fcf95dfd3db05b4fd6e5cee37866f673d3afa8
Reviewed-on: https://gerrit.libreoffice.org/29183
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2016-09-22 15:08:42 +02:00
committed by Noel Grandin
parent ba3d6d8a39
commit c4cd079b8f
72 changed files with 5 additions and 1452 deletions

View File

@@ -268,9 +268,12 @@ for d in definitionSet:
continue
if "::operator" in d[1]:
continue
location = definitionToSourceLocationMap[d];
# whacky template stuff
if location.startswith("sc/source/ui/vba/vbaformat.hxx"): continue
unusedSet.add(d) # used by the "unused return types" analysis
tmp1set.add((method, definitionToSourceLocationMap[d]))
tmp1set.add((method, location))
# print out the results, sorted by name and line number
with open("loplugin.unusedmethods.report-methods", "wt") as f: