summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedenumconstants.py
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-20 12:01:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-20 12:24:14 +0000
commita1b0d3ff53c9cd4299a2372d72eb9eba1fe48e80 (patch)
tree00a8ed1d16990585749f8f9df062c6a569a00adc /compilerplugins/clang/unusedenumconstants.py
parent408c0a7693316f0e23080be52db9bef720ed2cb4 (diff)
remove unused enumerators from PrinterCapType
Change-Id: Id4f788dfae64e7a9bcde16af2db2ddeafaf6900e Reviewed-on: https://gerrit.libreoffice.org/34468 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/unusedenumconstants.py')
-rwxr-xr-xcompilerplugins/clang/unusedenumconstants.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.py b/compilerplugins/clang/unusedenumconstants.py
index 4404081b6b64..7835287b82ca 100755
--- a/compilerplugins/clang/unusedenumconstants.py
+++ b/compilerplugins/clang/unusedenumconstants.py
@@ -117,6 +117,7 @@ def is_ignore(srcLoc):
"basic/source/inc/filefmt.hxx", # FileOffset
"basic/source/inc/opcodes.hxx", # SbiOpcode
"sc/source/filter/inc/flttypes.hxx", # BiffTyp
+ "sc/inc/optutil.hxx", # ScOptionsUtil::KeyBindingType
# unit test code
"cppu/source/uno/check.cxx",
# general weird nonsense going on
@@ -148,6 +149,8 @@ def is_ignore(srcLoc):
"basic/source/sbx/sbxres.hxx", # StringId
"sc/source/core/tool/chartpos.cxx", # CellState
"sc/source/core/data/global2.cxx", # State
+ "sc/inc/global.hxx", # ScAggregateFunc
+ "registry/source/reflcnst.hxx", #CPInfoTag
# Windows or OSX only
"include/canvas/rendering/icolorbuffer.hxx",
"include/vcl/commandevent.hxx",
@@ -157,6 +160,7 @@ def is_ignore(srcLoc):
"include/vcl/salbtype.hxx",
"include/vcl/commandevent.hxx", # CommandEvent, MediaCommand, ShowDialogId
"include/canvas/rendering/irendermodule.hxx", # canvas::IRenderModule::PrimitiveType
+ "sal/osl/unx/file.cxx", # FileHandle_Impl::Kind
# must match some other enum
"include/editeng/bulletitem.hxx",
"include/editeng/svxenum.hxx",