diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-03-01 13:37:32 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-03-09 22:21:12 +0100 |
commit | bc74c3c7d8e04b31324f19aa339dfac60cc63eef (patch) | |
tree | a6e0d2f49c259b04f9c3685a652ddbdd4e408003 /sc | |
parent | 63311c2d512f69bff9a2e3c012a4f36a91f23e19 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/helpids.h | 6 |
1 files changed, 0 insertions, 6 deletions
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" |