From bc74c3c7d8e04b31324f19aa339dfac60cc63eef Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Thu, 1 Mar 2018 13:37:32 +0100 Subject: Remove unused HIDs These were no longer used in the code. This should help me in identifying obsolete and missing HIDs in helpcontent. Found by this somewhat sophisticated method: for mod in $(find -name helpids.h) ; do echo $mod; for i in $(grep ^#define "$mod" | cut -d " " -f2 ) ; do if [ $(git grep -c "$i" $(echo "$mod" | cut -d "/" -f 2 ) | wc -l) -eq 1 ] ; then echo "$i"; fi ; done done Change-Id: Iaf8179322419ce51175bc5a42fedec0add8c5241 Reviewed-on: https://gerrit.libreoffice.org/50680 Tested-by: Jenkins Reviewed-by: Andras Timar --- sfx2/source/inc/helpids.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sfx2/source') diff --git a/sfx2/source/inc/helpids.h b/sfx2/source/inc/helpids.h index 96395079b7c9..4a18af690d12 100644 --- a/sfx2/source/inc/helpids.h +++ b/sfx2/source/inc/helpids.h @@ -39,8 +39,6 @@ #define HID_HELP_TOOLBOXITEM_SEARCHDIALOG "SFX2_HID_HELP_TOOLBOXITEM_SEARCHDIALOG" #define HID_HELP_TEXT_SELECTION_MODE "SFX2_HID_HELP_TEXT_SELECTION_MODE" -#define HID_CONFIG_SAVE "SFX2_HID_CONFIG_SAVE" - #define HID_QUERY_LOAD_TEMPLATE "SFX2_HID_QUERY_LOAD_TEMPLATE" #define HID_SIDEBAR_WINDOW "SFX2_HID_SIDEBAR_WINDOW" -- cgit