diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-03-31 22:26:42 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-04-03 09:07:59 +0200 |
commit | 93f1c3665fcdc31c36078f179ac37fd69d3ebb00 (patch) | |
tree | 6249aa747f825ab809a06f66b88faed4534b16ad /bin/find-unneeded-includes | |
parent | pdfium: avoid problems with SetForm using WIN32_LEAN_AND_MEAN (diff) | |
download | core-93f1c3665fcdc31c36078f179ac37fd69d3ebb00.tar.gz core-93f1c3665fcdc31c36078f179ac37fd69d3ebb00.zip |
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 <vmiklos@collabora.com>
Diffstat (limited to 'bin/find-unneeded-includes')
-rwxr-xr-x | bin/find-unneeded-includes | 2 |
1 files changed, 2 insertions, 0 deletions
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 = { |