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 --- sc/inc/helpids.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sc') diff --git a/sc/inc/helpids.h b/sc/inc/helpids.h index 6d8606c8a246..41822494134b 100644 --- a/sc/inc/helpids.h +++ b/sc/inc/helpids.h @@ -48,8 +48,6 @@ #define HID_SC_ADD_AUTOFMT "SC_HID_SC_ADD_AUTOFMT" #define HID_SC_AUTOFMT_NAME "SC_HID_SC_AUTOFMT_NAME" -#define HID_FUNCTION_BOX "SC_HID_FUNCTION_BOX" - // wrong group - HID_SC_DLG_START is full #define HID_SC_REN_AFMT_NAME "SC_HID_SC_REN_AFMT_NAME" @@ -180,10 +178,6 @@ #define HID_DAI_FUNC_DIFFYEARS "SC_HID_DAI_FUNC_DIFFYEARS" #define HID_DAI_FUNC_ROT13 "SC_HID_DAI_FUNC_ROT13" -#define HID_MN_FORMAT_STYLE "SC_HID_MN_FORMAT_STYLE" -#define HID_MN_FORMAT_ALGN "SC_HID_MN_FORMAT_ALGN" -#define HID_MN_FORMAT_LINESPACE "SC_HID_MN_FORMAT_LINESPACE" - // End help IDs ------------------------------------------------------------ #define HID_FUNC_DBANZAHL "SC_HID_FUNC_DBANZAHL" -- cgit