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 /sfx2/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 'sfx2/source')
-rw-r--r-- | sfx2/source/inc/helpids.h | 2 |
1 files changed, 0 insertions, 2 deletions
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" |