From 65b7b6322b662785bf032e66c76abc36c9a2bb0e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 8 Feb 2017 10:40:28 +0200 Subject: loplugin:unusedenumconstants read-only constants in vcl Change-Id: I8c81444cbecdc103cc47d9a4133b0b4d9010e0c2 Reviewed-on: https://gerrit.libreoffice.org/34018 Tested-by: Jenkins Reviewed-by: Noel Grandin --- compilerplugins/clang/unusedenumconstants.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/unusedenumconstants.py b/compilerplugins/clang/unusedenumconstants.py index 50d680e2900e..9acbd49dd116 100755 --- a/compilerplugins/clang/unusedenumconstants.py +++ b/compilerplugins/clang/unusedenumconstants.py @@ -99,6 +99,10 @@ for d in definitionSet: "include/svtools/rtftoken.h", "sc/source/filter/inc/xltracer.hxx", "writerfilter/source/dmapper/FieldTypes.hxx", + "vcl/source/fontsubset/cff.cxx", + "vcl/source/filter/wmf/winmtf.hxx", + "vcl/source/filter/sgvmain.hxx", + "vcl/source/filter/jpeg/transupp.h", # unit test code "cppu/source/uno/check.cxx", # general weird nonsense going on @@ -114,6 +118,9 @@ for d in definitionSet: "include/canvas/rendering/icolorbuffer.hxx", "include/vcl/commandevent.hxx", "vcl/inc/unx/gendata.hxx", + "vcl/inc/salwtype.hxx", + "include/vcl/svapp.hxx", + "include/vcl/salbtype.hxx", # must match some other enum "include/editeng/bulletitem.hxx", "include/editeng/svxenum.hxx", @@ -128,6 +135,7 @@ for d in definitionSet: "vcl/inc/sft.hxx", "vcl/inc/unx/XIM.h", "vcl/unx/gtk/xid_fullscreen_on_all_monitors.c", + "vcl/unx/gtk/salnativewidgets-gtk.cxx", ]): continue -- cgit