From dfaa7d4d2829e4b30af4fe48c31f1b4b94b22259 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 14 Jul 2018 00:48:37 +0200 Subject: Add missing sal/log.hxx headers rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include (and don't make use of it themselves), but many other files happen to depend on it. This is a continuation of commit 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 to be able to remove those unneeded includes. This commit adds missing headers to every file found by: grep -FwL sal/log.hxx $(git grep -Elw 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF|SAL_DETAIL_LOG_STREAM|SAL_WHERE|SAL_STREAM|SAL_DEBUG') to directories from connectivity to cui Change-Id: I9903c10d0a04bbeb93d0f776d1d252b152459499 Reviewed-on: https://gerrit.libreoffice.org/57408 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- cppuhelper/source/component.cxx | 1 + cppuhelper/source/factory.cxx | 1 + cppuhelper/source/implbase.cxx | 1 + cppuhelper/source/tdmgr.cxx | 1 + cppuhelper/source/weak.cxx | 1 + 5 files changed, 5 insertions(+) (limited to 'cppuhelper') diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx index 16cf56f257e6..1c3585ee17d4 100644 --- a/cppuhelper/source/component.cxx +++ b/cppuhelper/source/component.cxx @@ -19,6 +19,7 @@ #include #include +#include #include #include #include diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index 2503245330b8..12efac1fb061 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include #include #include diff --git a/cppuhelper/source/implbase.cxx b/cppuhelper/source/implbase.cxx index f16c587431f0..f5242bf054f3 100644 --- a/cppuhelper/source/implbase.cxx +++ b/cppuhelper/source/implbase.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/cppuhelper/source/tdmgr.cxx b/cppuhelper/source/tdmgr.cxx index fd0e99c9e520..1627e2277526 100644 --- a/cppuhelper/source/tdmgr.cxx +++ b/cppuhelper/source/tdmgr.cxx @@ -19,6 +19,7 @@ #include +#include #include diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx index fb2ccfdfe5d7..fc53cc56d440 100644 --- a/cppuhelper/source/weak.cxx +++ b/cppuhelper/source/weak.cxx @@ -18,6 +18,7 @@ */ #include +#include #include #include -- cgit