summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-14 00:48:37 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-07-16 12:24:49 +0200
commitdfaa7d4d2829e4b30af4fe48c31f1b4b94b22259 (patch)
tree5f681a2a5286de5cb83c692ebebc6cba45124de2 /cppuhelper
parenta605762c579f2d9ee4ef8e5c1c0d4b603e0ce9bb (diff)
Add missing sal/log.hxx headers
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (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 <vmiklos@collabora.co.uk>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/component.cxx1
-rw-r--r--cppuhelper/source/factory.cxx1
-rw-r--r--cppuhelper/source/implbase.cxx1
-rw-r--r--cppuhelper/source/tdmgr.cxx1
-rw-r--r--cppuhelper/source/weak.cxx1
5 files changed, 5 insertions, 0 deletions
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 <rtl/string.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <cppuhelper/component.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/queryinterface.hxx>
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 <sal/log.hxx>
#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <cppuhelper/weak.hxx>
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 <cppuhelper/compbase_ex.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <rtl/instance.hxx>
#include <rtl/string.hxx>
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 <sal/config.h>
+#include <sal/log.hxx>
#include <vector>
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 <sal/config.h>
+#include <sal/log.hxx>
#include <osl/mutex.hxx>
#include <cppuhelper/weakagg.hxx>