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:
committed by
Noel Grandin
parent
ba3d6d8a39
commit
c4cd079b8f
@@ -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:
|
||||
|
Reference in New Issue
Block a user