From fde0b8df30a65412afd5278a0dfd23ac30f62dc6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 6 Feb 2017 11:42:25 +0200 Subject: loplugin:unusedenumconstants in oox Convert FragmentHandler2::MCE_STATE to scoped enum and drop MCE_UNUSED constant Change-Id: Id0b3a81e61d77af5d3837527b008e196835f57cd Reviewed-on: https://gerrit.libreoffice.org/33954 Tested-by: Jenkins Reviewed-by: Noel Grandin --- compilerplugins/clang/unusedenumconstants.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/unusedenumconstants.py b/compilerplugins/clang/unusedenumconstants.py index 03b907137c67..4c454f5ba5a7 100755 --- a/compilerplugins/clang/unusedenumconstants.py +++ b/compilerplugins/clang/unusedenumconstants.py @@ -91,12 +91,15 @@ for d in definitionSet: "vcl/source/fontsubset/cff.cxx", "include/vcl/settings.hxx", # stored in a setting, can't remove it without potentially triggering UBSAN "basic/source/inc/opcodes.hxx", # can't touch this without breaking unit tests, not sure why + "include/unotools/securityoptions.hxx", # comes from the UI # unit test code "cppu/source/uno/check.cxx", # general weird nonsense going on "framework/inc/helper/mischelper.hxx" "include/sfx2/shell.hxx", "framework/inc/helper/mischelper.hxx", + "include/svtools/htmltokn.h", + "include/sfx2/shell.hxx", # Windows or OSX only "include/canvas/rendering/icolorbuffer.hxx", "include/vcl/commandevent.hxx", -- cgit