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

Gabor Kelemen (via logerrit) logerrit at kemper.freedesktop.org
Mon Jun 3 09:12:58 UTC 2019


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

New commits:
commit cef975478815369c5456e4ebc934fb855f358f83
Author:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Sat Jun 1 22:21:38 2019 +0200
Commit:     Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Mon Jun 3 11:12:03 2019 +0200

    find-unneeded-includes: don't propose to remove <map>...
    
    ..and replace with debug header if multimap is used.
    
    As seen in include/svx/SmartTagMgr.hxx
    
    Change-Id: If239cd6e9471f74f3035c659077ed7515a9df473
    Reviewed-on: https://gerrit.libreoffice.org/73367
    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 bea49fd7a267..9cce1cad1bdf 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -45,7 +45,7 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules):
         "deque": ("debug/deque", ),
         "forward_list": ("debug/forward_list", ),
         "list": ("debug/list", ),
-        "map": ("debug/map.h", ),
+        "map": ("debug/map.h", "debug/multimap.h"),
         "set": ("debug/set.h", "debug/multiset.h"),
         "unordered_map": ("debug/unordered_map", ),
         "unordered_set": ("debug/unordered_set", ),


More information about the Libreoffice-commits mailing list