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 /cui/source | |
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 'cui/source')
-rw-r--r-- | cui/source/inc/helpids.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cui/source/inc/helpids.h b/cui/source/inc/helpids.h index b20b9223d91f..c8b21efef94b 100644 --- a/cui/source/inc/helpids.h +++ b/cui/source/inc/helpids.h @@ -36,20 +36,10 @@ #define HID_SVX_CONFIG_RENAME_MENU_ITEM "CUI_HID_SVX_CONFIG_RENAME_MENU_ITEM" #define HID_SVX_CONFIG_RENAME_TOOLBAR "CUI_HID_SVX_CONFIG_RENAME_TOOLBAR" #define HID_SVX_CONFIG_RENAME_TOOLBAR_ITEM "CUI_HID_SVX_CONFIG_RENAME_TOOLBAR_ITEM" -#define HID_SVX_NEW_TOOLBAR "CUI_HID_SVX_NEW_TOOLBAR" -#define HID_SVX_MODIFY_TOOLBAR "CUI_HID_SVX_MODIFY_TOOLBAR" -#define HID_SVX_NEW_TOOLBAR_ITEM "CUI_HID_SVX_NEW_TOOLBAR_ITEM" -#define HID_SVX_MODIFY_TOOLBAR_ITEM "CUI_HID_SVX_MODIFY_TOOLBAR_ITEM" #define HID_SVX_UP_TOOLBAR_ITEM "CUI_HID_SVX_UP_TOOLBAR_ITEM" #define HID_SVX_DOWN_TOOLBAR_ITEM "CUI_HID_SVX_DOWN_TOOLBAR_ITEM" #define HID_SVX_SAVE_IN "CUI_HID_SVX_SAVE_IN" #define HID_SVX_TOPLEVELLISTBOX "CUI_HID_SVX_TOPLEVELLISTBOX" -#define HID_SVX_ICONSONLY "CUI_HID_SVX_ICONSONLY" -#define HID_SVX_TEXTONLY "CUI_HID_SVX_TEXTONLY" -#define HID_SVX_ICONSANDTEXT "CUI_HID_SVX_ICONSANDTEXT" -#define HID_SVX_ADD_SEPARATOR "CUI_HID_SVX_ADD_SEPARATOR" -#define HID_SVX_RESETBUTTON "CUI_HID_SVX_RESETBUTTON" -#define HID_SVX_REMOVEBUTTON "CUI_HID_SVX_REMOVEBUTTON" #define HID_SVX_DESCFIELD "CUI_HID_SVX_DESCFIELD" #define HID_MACRO_HEADERTABLISTBOX "CUI_HID_MACRO_HEADERTABLISTBOX" |