diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-17 15:10:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-20 06:53:12 +0000 |
commit | e604ddfd1196c877ddce603dca15f9a5228497e0 (patch) | |
tree | 58d43b5c84f7c066ea77e1284589362886d476cb /bin | |
parent | a386915e51c54901d2e6cb77b615de33f3c9fa18 (diff) |
remove unused defines from HRC files in svx(2)
Change-Id: I5361faaaf7fcfc1992919b1fb687b436470ed6a8
Reviewed-on: https://gerrit.libreoffice.org/35334
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find-unused-defines-in-hrc-files.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/find-unused-defines-in-hrc-files.py b/bin/find-unused-defines-in-hrc-files.py index b945266351b6..488b045340e5 100755 --- a/bin/find-unused-defines-in-hrc-files.py +++ b/bin/find-unused-defines-in-hrc-files.py @@ -146,6 +146,8 @@ with a.stdout as txt: if "reportdesign/" in line2 and idName.startswith("HID_RPT_PROP_"): found_reason_to_exclude = True if "reportdesign/" in line2 and idName.startswith("RID_STR_"): found_reason_to_exclude = True if "forms/" in line2 and idName.startswith("PROPERTY_"): found_reason_to_exclude = True + if "svx/source/tbxctrls/extrusioncontrols.hrc:" in line2 and idName.startswith("DIRECTION_"): found_reason_to_exclude = True + if "svx/source/tbxctrls/extrusioncontrols.hrc:" in line2 and idName.startswith("FROM_"): found_reason_to_exclude = True # if we see more than 2 lines then it's probably one of the BASE/START/BEGIN things cnt = cnt + 2 if cnt > 3: found_reason_to_exclude = True |