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 /sd | |
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 'sd')
-rw-r--r-- | sd/inc/helpids.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sd/inc/helpids.h b/sd/inc/helpids.h index 26bed2967ffd..64678d7733ad 100644 --- a/sd/inc/helpids.h +++ b/sd/inc/helpids.h @@ -72,14 +72,6 @@ #define HID_SD_RULER_HORIZONTAL "SD_HID_SD_RULER_HORIZONTAL" #define HID_SD_RULER_VERTICAL "SD_HID_SD_RULER_VERTICAL" - -#define HID_MN_SUB_GRAPHIC "SD_HID_MN_SUB_GRAPHIC" -#define HID_MN_SUB_FIELD "SD_HID_MN_SUB_FIELD" -#define HID_MN_SUB_TEMPLATES "SD_HID_MN_SUB_TEMPLATES" -#define HID_MN_SUB_SPELLING "SD_HID_MN_SUB_SPELLING" -#define HID_MN_SUB_CONVERT "SD_HID_MN_SUB_CONVERT" -#define HID_MN_SUB_MIRROR "SD_HID_MN_SUB_MIRROR" - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |