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 /starmath | |
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 'starmath')
-rw-r--r-- | starmath/inc/helpids.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/starmath/inc/helpids.h b/starmath/inc/helpids.h index 024141fc5915..7e13c3ac800b 100644 --- a/starmath/inc/helpids.h +++ b/starmath/inc/helpids.h @@ -48,18 +48,6 @@ #define HID_SMA_UPPERBORDER_DIST "STARMATH_HID_SMA_UPPERBORDER_DIST" #define HID_SMA_LOWERBORDER_DIST "STARMATH_HID_SMA_LOWERBORDER_DIST" #define HID_SMA_BRACKET_EXCHEIGHT2 "STARMATH_HID_SMA_BRACKET_EXCHEIGHT2" -#define HID_SMA_LMRANGLEXY "STARMATH_HID_SMA_LMRANGLEXY" -#define HID_SMA_SLMRANGLEXY "STARMATH_HID_SMA_SLMRANGLEXY" -#define HID_SMA_XWIDESLASHY "STARMATH_HID_SMA_XWIDESLASHY" -#define HID_SMA_XWIDEBSLASHY "STARMATH_HID_SMA_XWIDEBSLASHY" -#define HID_SMA_XOVERBRACEY "STARMATH_HID_SMA_XOVERBRACEY" -#define HID_SMA_XUNDERBRACEY "STARMATH_HID_SMA_XUNDERBRACEY" -#define HID_SMA_LRDBRACKETX "STARMATH_HID_SMA_LRDBRACKETX" -#define HID_SMA_SLRDBRACKETX "STARMATH_HID_SMA_SLRDBRACKETX" -#define HID_SMA_XEVALUATEDATY "STARMATH_HID_SMA_XEVALUATEDATY" - - -#define HID_SMA_NOSPACE "STARMATH_HID_SMA_NOSPACE" #endif |