summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-08 12:00:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-09 05:46:03 +0000
commitafc755fa61cfd9645c4ed2507bdc3a06b721ed5c (patch)
tree927b4fa1f1deaf22362c13e43d16fd716f29e630 /compilerplugins
parent026345eeb2aa9fca02bc055f28ebd34abd7ad680 (diff)
loplugin:unusedenumconstants read-only constants in vcl (2)
Change-Id: Ia3da23e0ef2fa710403745bd11255ed001516da4 Reviewed-on: https://gerrit.libreoffice.org/34020 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rwxr-xr-xcompilerplugins/clang/unusedenumconstants.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.py b/compilerplugins/clang/unusedenumconstants.py
index 9acbd49dd116..340d0b931c1b 100755
--- a/compilerplugins/clang/unusedenumconstants.py
+++ b/compilerplugins/clang/unusedenumconstants.py
@@ -103,6 +103,7 @@ for d in definitionSet:
"vcl/source/filter/wmf/winmtf.hxx",
"vcl/source/filter/sgvmain.hxx",
"vcl/source/filter/jpeg/transupp.h",
+ "include/vcl/bitmapex.hxx", # TransparentType
# unit test code
"cppu/source/uno/check.cxx",
# general weird nonsense going on
@@ -121,6 +122,7 @@ for d in definitionSet:
"vcl/inc/salwtype.hxx",
"include/vcl/svapp.hxx",
"include/vcl/salbtype.hxx",
+ "include/vcl/commandevent.hxx", # CommandEvent, MediaCommand, ShowDialogId
# must match some other enum
"include/editeng/bulletitem.hxx",
"include/editeng/svxenum.hxx",
@@ -130,6 +132,7 @@ for d in definitionSet:
"include/svl/nfkeytab.hx",
"include/svl/zforlist.hxx",
"include/svtools/svtabbx.hxx",
+ "include/vcl/print.hxx", # NupOrderType, from UI combobox
# represents constants from an external API
"opencl/inc/opencl_device_selection.h",
"vcl/inc/sft.hxx",