summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-05-09 00:50:57 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2019-05-09 11:08:07 +0200
commit2070adb69823bfd596a241c77d1bb3ff106d00ae (patch)
tree60b077a42f60ddbb2ebdd93460175c392767a4e7
parent689829db6a3628d2c7c09b8046c24cbae8c98d94 (diff)
find-unneeded-includes: filter out boost/unordered_map.hpp
As seen in configmgr/source/modifications.hxx and configmgr/source/partial.hxx this replacement is not needed Change-Id: I6a8d7bc37779f305fccb5d3c7df22fba4a4f73d0 Reviewed-on: https://gerrit.libreoffice.org/72013 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
-rwxr-xr-xbin/find-unneeded-includes2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index 834a4319cf71..18bcd5d6711d 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -86,6 +86,8 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules):
return True
if include == "boost/variant.hpp" and "boost/variant/variant.hpp" in toAdd:
return True
+ if include == "boost/unordered_map.hpp" and "boost/unordered/unordered_map.hpp" in toAdd:
+ return True
# Avoid .hxx to .h proposals in basic css/uno/* API
unoapi = {