loplugin:unusedfields
Change-Id: I96634c18ba6600f8f7d5d04a162dcd7e1e312923 Reviewed-on: https://gerrit.libreoffice.org/30474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -52,7 +52,7 @@ for k, definitions in sourceLocationToDefinitionMap.iteritems():
|
||||
if len(definitions) > 1:
|
||||
for d in definitions:
|
||||
definitionSet.remove(d)
|
||||
|
||||
|
||||
untouchedSet = set()
|
||||
for d in definitionSet:
|
||||
if d in callSet:
|
||||
@@ -87,7 +87,7 @@ for d in definitionSet:
|
||||
or srcLoc.startswith("lotuswordpro/source/filter/lwpsdwdrawheader.hxx")
|
||||
or srcLoc.startswith("hwpfilter/")
|
||||
or srcLoc.startswith("embeddedobj/source/inc/")
|
||||
or srcLoc.startswith("svtools/source/dialogs/insdlg.cxx")):
|
||||
or srcLoc.startswith("svtools/source/dialogs/insdlg.cxx")
|
||||
or srcLoc.startswith("bridges/")):
|
||||
continue
|
||||
if d[0] in set([ "AtkObjectWrapperClass", "AtkObjectWrapper", "GLOMenu", "GLOAction", "_XRegion", "SalMenuButtonItem", "Vertex",
|
||||
@@ -95,7 +95,7 @@ for d in definitionSet:
|
||||
"ImplPPTParaPropSet", "DataNode"]):
|
||||
continue
|
||||
# unit testing code
|
||||
if (srcLoc.startswith("cppu/source/uno/check.cxx"):
|
||||
if srcLoc.startswith("cppu/source/uno/check.cxx"):
|
||||
continue
|
||||
fieldType = definitionToTypeMap[d]
|
||||
if fieldType in set([ "class rptui::OModuleClient" ]):
|
||||
|
Reference in New Issue
Block a user