diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-17 08:34:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-17 10:43:34 +0000 |
commit | c627f4b92824a7c1900e54e8a66773f45e3766dd (patch) | |
tree | 72a45ac7bc995e4312d2a17f542efc73f2701a76 /bin/find-unused-defines-in-hrc-files.py | |
parent | 56552630fe21a143ca243807f093ebb150a2de98 (diff) |
remove unused defines from HRC files in various
Change-Id: Ia1ba313d2438f04a84bcfcbbbcf6fffea5c1921d
Reviewed-on: https://gerrit.libreoffice.org/35310
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'bin/find-unused-defines-in-hrc-files.py')
-rwxr-xr-x | bin/find-unused-defines-in-hrc-files.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/find-unused-defines-in-hrc-files.py b/bin/find-unused-defines-in-hrc-files.py index 923de0fcbcfb..9350e3a721d7 100755 --- a/bin/find-unused-defines-in-hrc-files.py +++ b/bin/find-unused-defines-in-hrc-files.py @@ -142,6 +142,7 @@ with a.stdout as txt: if "dbaccess/" in line2 and idName.startswith("PROPERTY_ID_"): found_reason_to_exclude = True 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 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 |