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

New commits:
commit 93f1c3665fcdc31c36078f179ac37fd69d3ebb00
Author:     Gabor Kelemen <kelemen.gab...@nisz.hu>
AuthorDate: Sun Mar 31 22:26:42 2019 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Wed Apr 3 09:07:59 2019 +0200

    find-unneeded-includes: filter out boost/variant.hpp
    
    As seen in include/sfx2/sidebar/Paint.hxx
    this replacement is not needed
    
    Change-Id: Idba8014a7effaec69c06891657cbd62546b7ac09
    Reviewed-on: https://gerrit.libreoffice.org/70026
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index c902a6172ac9..e20888b34042 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -82,6 +82,8 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules):
         return True
     if include == "boost/intrusive_ptr.hpp" and 
"boost/smart_ptr/intrusive_ptr.hpp" in toAdd:
         return True
+    if include == "boost/variant.hpp" and "boost/variant/variant.hpp" in toAdd:
+        return True
 
     # Avoid .hxx to .h proposals in basic css/uno/* API
     unoapi = {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to