[Libreoffice-commits] core.git: bin/find-unneeded-includes

Gabor Kelemen (via logerrit) logerrit at kemper.freedesktop.org
Thu May 9 09:09:27 UTC 2019


 bin/find-unneeded-includes |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 2070adb69823bfd596a241c77d1bb3ff106d00ae
Author:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Thu May 9 00:50:57 2019 +0200
Commit:     Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Thu May 9 11:08:07 2019 +0200

    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 at cib.de>

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 = {


More information about the Libreoffice-commits mailing list