summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-08 15:01:23 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-07-09 10:49:06 +0200
commit7af90cc93b76996f0f338c6a1285997531281e75 (patch)
tree5bcc07cf1cdcccc9b7b14ead80b3fbe46e179693 /comphelper
parent432a935d4e178b4e1e54c2ec864cb5e05bb03d9b (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 a* to configmgr Change-Id: I6ea1a7f992b1f835f5bac7a725e1135abee3f85a Reviewed-on: https://gerrit.libreoffice.org/57170 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/backupfilehelper.cxx1
-rw-r--r--comphelper/source/misc/docpasswordhelper.cxx1
-rw-r--r--comphelper/source/misc/documentinfo.cxx1
-rw-r--r--comphelper/source/misc/lok.cxx1
-rw-r--r--comphelper/source/misc/numbers.cxx1
-rw-r--r--comphelper/source/misc/scopeguard.cxx1
-rw-r--r--comphelper/source/misc/storagehelper.cxx1
-rw-r--r--comphelper/source/misc/threadpool.cxx1
-rw-r--r--comphelper/source/property/propagg.cxx1
-rw-r--r--comphelper/source/property/property.cxx1
10 files changed, 10 insertions, 0 deletions
diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx
index 530827c6f31b..fc19da6d2570 100644
--- a/comphelper/source/misc/backupfilehelper.cxx
+++ b/comphelper/source/misc/backupfilehelper.cxx
@@ -10,6 +10,7 @@
#include <sal/config.h>
#include <rtl/ustring.hxx>
#include <rtl/bootstrap.hxx>
+#include <sal/log.hxx>
#include <comphelper/backupfilehelper.hxx>
#include <rtl/crc.h>
#include <algorithm>
diff --git a/comphelper/source/misc/docpasswordhelper.cxx b/comphelper/source/misc/docpasswordhelper.cxx
index 3f470520fbf5..39dfb266197c 100644
--- a/comphelper/source/misc/docpasswordhelper.cxx
+++ b/comphelper/source/misc/docpasswordhelper.cxx
@@ -31,6 +31,7 @@
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <rtl/digest.h>
#include <rtl/random.h>
#include <string.h>
diff --git a/comphelper/source/misc/documentinfo.cxx b/comphelper/source/misc/documentinfo.cxx
index a2c0e7140c33..38be204a5f00 100644
--- a/comphelper/source/misc/documentinfo.cxx
+++ b/comphelper/source/misc/documentinfo.cxx
@@ -30,6 +30,7 @@
#include <osl/diagnose.h>
#include <osl/thread.h>
+#include <sal/log.hxx>
namespace comphelper {
diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx
index 8beb633a9218..0b983dba6a6b 100644
--- a/comphelper/source/misc/lok.cxx
+++ b/comphelper/source/misc/lok.cxx
@@ -10,6 +10,7 @@
#include <comphelper/lok.hxx>
#include <iostream>
+#include <sstream>
namespace comphelper
{
diff --git a/comphelper/source/misc/numbers.cxx b/comphelper/source/misc/numbers.cxx
index e20b63fbfda3..2068223d3a71 100644
--- a/comphelper/source/misc/numbers.cxx
+++ b/comphelper/source/misc/numbers.cxx
@@ -19,6 +19,7 @@
#include <comphelper/numbers.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <com/sun/star/util/NumberFormat.hpp>
#include <com/sun/star/util/XNumberFormatTypes.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/comphelper/source/misc/scopeguard.cxx b/comphelper/source/misc/scopeguard.cxx
index d1f48f959fd2..04c697c940be 100644
--- a/comphelper/source/misc/scopeguard.cxx
+++ b/comphelper/source/misc/scopeguard.cxx
@@ -20,6 +20,7 @@
#include <comphelper/flagguard.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <com/sun/star/uno/Exception.hpp>
namespace comphelper {
diff --git a/comphelper/source/misc/storagehelper.cxx b/comphelper/source/misc/storagehelper.cxx
index f1e87937b8d2..4ce5d66e4f38 100644
--- a/comphelper/source/misc/storagehelper.cxx
+++ b/comphelper/source/misc/storagehelper.cxx
@@ -46,6 +46,7 @@
#include <rtl/digest.h>
#include <rtl/random.h>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <sax/tools/converter.hxx>
#include <ucbhelper/content.hxx>
diff --git a/comphelper/source/misc/threadpool.cxx b/comphelper/source/misc/threadpool.cxx
index a910ef08e138..d23b6fa9431a 100644
--- a/comphelper/source/misc/threadpool.cxx
+++ b/comphelper/source/misc/threadpool.cxx
@@ -11,6 +11,7 @@
#include <com/sun/star/uno/Exception.hpp>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <rtl/instance.hxx>
#include <rtl/string.hxx>
#include <salhelper/thread.hxx>
diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx
index a6e0d3ef3982..d1f6e3a76c17 100644
--- a/comphelper/source/property/propagg.cxx
+++ b/comphelper/source/property/propagg.cxx
@@ -22,6 +22,7 @@
#include <comphelper/sequence.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#if OSL_DEBUG_LEVEL > 0
diff --git a/comphelper/source/property/property.cxx b/comphelper/source/property/property.cxx
index 6a795d76479a..b69ca62c4ac5 100644
--- a/comphelper/source/property/property.cxx
+++ b/comphelper/source/property/property.cxx
@@ -21,6 +21,7 @@
#include <comphelper/sequence.hxx>
#include <comphelper/types.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#if OSL_DEBUG_LEVEL > 0
#include <rtl/strbuf.hxx>