diff options
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 acf51573dd8e..011c62969286 100755 --- a/bin/find-unused-defines-in-hrc-files.py +++ b/bin/find-unused-defines-in-hrc-files.py @@ -132,6 +132,8 @@ with a.stdout as txt: if "sw/inc/poolfmt.hrc:" in line2: found_reason_to_exclude = True # not sure about these, looks suspicious if "sd/source/ui/app/strings.src:" in line2 and idName.endswith("_TOOLBOX"): found_reason_to_exclude = True + # used via a macro that hides them from search + if "dbaccess/" in line2 and idName.startswith("PROPERTY_ID_"): found_reason_to_exclude = True if not found_reason_to_exclude: sys.stdout.write(idName + '\n') |