summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-24 08:50:39 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-24 08:17:55 +0000
commitdd351dd728687cffe432ce0ec9367ceb80e097fb (patch)
treec397740bd7b6fdb890657687001d6af244ec11a3 /compilerplugins
parent145a9954116b14a417fd403a13536883dbd5c96e (diff)
loplugin:unusedfields in vcl/
and remove the unused SALEVENT_MOUSEACTIVATE stuff Change-Id: Ieb85872eca68621c6a7be47ff5dbea12f7690507 Reviewed-on: https://gerrit.libreoffice.org/20140 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'compilerplugins')
-rwxr-xr-xcompilerplugins/clang/unusedfields.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/compilerplugins/clang/unusedfields.py b/compilerplugins/clang/unusedfields.py
index 08f0b675ce6f..7325175d5d3d 100755
--- a/compilerplugins/clang/unusedfields.py
+++ b/compilerplugins/clang/unusedfields.py
@@ -60,7 +60,11 @@ for d in definitionSet:
continue
# this is all representations of on-disk data structures
if (srcLoc.startswith("sc/source/filter/inc/scflt.hxx")
- or srcLoc.startswith("sw/source/filter/ww8/")):
+ or srcLoc.startswith("sw/source/filter/ww8/")
+ or srcLoc.startswith("vcl/source/filter/sgvmain.hxx")
+ or srcLoc.startswith("vcl/source/filter/sgfbram.hxx")
+ or srcLoc.startswith("vcl/inc/unx/XIM.h")
+ or srcLoc.startswith("vcl/inc/unx/gtk/gloactiongroup.h")):
continue
tmp1set.add((clazz, srcLoc))