summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update_pch.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/update_pch.sh b/bin/update_pch.sh
index 241ce6c45508..6b425cb53d75 100755
--- a/bin/update_pch.sh
+++ b/bin/update_pch.sh
@@ -127,12 +127,14 @@ function local_file()
function filter_ignore()
(
# - filter out all files that are not normal headers
+# - unicode/datefm.h is a icu header, clashes with DateFormat definition
# - gperffasttoken.hxx is not a proper header
# - sores.hxx provides BMP_PLUGIN, which is redefined
# - some sources play ugly #define tricks with editeng/eeitemid.hxx
# - jerror.h and jpeglib.h are not self-contained
# - service1.hxx/service2.hxx are inside comments in frameworks/
grep -E -e '\.h[">]$' -e '\.hpp[">]$' -e '\.hdl[">]$' -e '\.hxx[">]$' -e '^[^\.]*>$' | \
+ grep -v -F -e '#include <unicode/datefmt.h>' | \
grep -v -F -e '#include "gperffasttoken.hxx"' | \
grep -v -F -e '#include <svtools/sores.hxx>' | \
grep -v -F -e '#include <editeng/eeitemid.hxx>' | \