bin/find-unneeded-includes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit bdffe94e0a467774f0b87a4b74587390b4338100 Author: Gabor Kelemen <kelemen.gab...@nisz.hu> AuthorDate: Sun Jul 14 20:05:10 2019 +0200 Commit: Michael Stahl <michael.st...@cib.de> CommitDate: Mon Jul 15 12:11:05 2019 +0200 find-unneeded-includes: don't propose to replace hpp with hdl... in the ooo/vba namespace either. Quite frequent in sc/source/ui/vba Change-Id: I62c89bb430455f025b25f1246e55012b411db21e Reviewed-on: https://gerrit.libreoffice.org/75597 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@cib.de> diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes index d3177af8336a..c70006add441 100755 --- a/bin/find-unneeded-includes +++ b/bin/find-unneeded-includes @@ -32,8 +32,8 @@ import yaml def ignoreRemoval(include, toAdd, absFileName, moduleRules): # global rules - # Avoid replacing .hpp with .hdl in the com::sun::star namespace. - if include.startswith("com/sun/star") and include.endswith(".hpp"): + # Avoid replacing .hpp with .hdl in the com::sun::star and ooo::vba namespaces. + if ( include.startswith("com/sun/star") or include.startswith("ooo/vba") ) and include.endswith(".hpp"): hdl = include.replace(".hpp", ".hdl") if hdl in toAdd: return True _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits