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

Gabor Kelemen (via logerrit) logerrit at kemper.freedesktop.org
Wed May 8 15:50:54 UTC 2019


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

New commits:
commit 91695ecf98c32c6e99b4c6f803a896180ba96a53
Author:     Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Tue May 7 00:19:52 2019 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed May 8 17:49:32 2019 +0200

    find-unneeded-includes: dont propose to replace ctime with internal header
    
    As seen in sw/source/core/inc/layact.hxx
    
    Change-Id: Icc4281cd57b0cd8310a1044f6106691a5d1cd3c4
    Reviewed-on: https://gerrit.libreoffice.org/71884
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>

diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index bc8e728078a8..834a4319cf71 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -62,7 +62,8 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules):
         "exception": "bits/exception.h",
         "memory": "bits/shared_ptr.h",
         "functional": "bits/std_function.h",
-        "cmath": "bits/std_abs.h"
+        "cmath": "bits/std_abs.h",
+        "ctime": "bits/types/clock_t.h"
     }
     for k, v in bits.items():
         if include == k and v in toAdd:


More information about the Libreoffice-commits mailing list