summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-08-05 00:50:24 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-06 16:04:35 +0200
commitc40109cc4e2412b06a2cc2e92ac1267c6c338aed (patch)
treef47129805cee040499bf401ebabba1340b411c7f /sal
parenta472d3352a61b51624aea480410789e3f547a9ca (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') in files formerly omitted for oversight or non-cxx extension Change-Id: I327c573f44076c6ccfecf737eafccba2da72e1bd Reviewed-on: https://gerrit.libreoffice.org/58600 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sal')
-rw-r--r--sal/cppunittester/cppunittester.cxx1
-rw-r--r--sal/osl/unx/file_misc.cxx1
-rw-r--r--sal/osl/unx/nlsupport.cxx1
-rw-r--r--sal/osl/unx/signal.cxx1
-rw-r--r--sal/osl/w32/file.cxx1
-rw-r--r--sal/osl/w32/file_dirvol.cxx1
-rw-r--r--sal/osl/w32/file_url.cxx1
-rw-r--r--sal/osl/w32/module.cxx1
-rw-r--r--sal/osl/w32/path_helper.cxx1
-rw-r--r--sal/osl/w32/process.cxx1
-rw-r--r--sal/osl/w32/profile.cxx1
-rw-r--r--sal/qa/osl/security/osl_Security.cxx1
-rw-r--r--sal/rtl/bootstrap.cxx1
-rw-r--r--sal/test/testbootstrap.cxx1
14 files changed, 14 insertions, 0 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index 2cca296f0c53..f6be50375057 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -32,6 +32,7 @@
#include <cstdlib>
#include <iostream>
#include <string>
+#include <sal/log.hxx>
#include <sal/types.h>
#include <cppunittester/protectorfactory.hxx>
#include <osl/module.h>
diff --git a/sal/osl/unx/file_misc.cxx b/sal/osl/unx/file_misc.cxx
index 7e3386cfa4e5..74712563311b 100644
--- a/sal/osl/unx/file_misc.cxx
+++ b/sal/osl/unx/file_misc.cxx
@@ -25,6 +25,7 @@
#include <osl/signal.h>
#include <rtl/alloc.h>
#include <rtl/string.hxx>
+#include <sal/log.hxx>
#include "system.hxx"
#include "file_impl.hxx"
diff --git a/sal/osl/unx/nlsupport.cxx b/sal/osl/unx/nlsupport.cxx
index 5300752335af..e1d7e393822c 100644
--- a/sal/osl/unx/nlsupport.cxx
+++ b/sal/osl/unx/nlsupport.cxx
@@ -26,6 +26,7 @@
#include <osl/process.h>
#include <rtl/string.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include "nlsupport.hxx"
diff --git a/sal/osl/unx/signal.cxx b/sal/osl/unx/signal.cxx
index a96808574c2a..c742634fc190 100644
--- a/sal/osl/unx/signal.cxx
+++ b/sal/osl/unx/signal.cxx
@@ -56,6 +56,7 @@
#include <osl/signal.h>
#include <osl/process.h>
#include <osl/thread.h>
+#include <sal/log.hxx>
#include <sal/macros.h>
#include <rtl/bootstrap.h>
#include <rtl/digest.h>
diff --git a/sal/osl/w32/file.cxx b/sal/osl/w32/file.cxx
index 35373bb56cc2..e92c5a584c31 100644
--- a/sal/osl/w32/file.cxx
+++ b/sal/osl/w32/file.cxx
@@ -22,6 +22,7 @@
#include <osl/file.hxx>
#include <rtl/alloc.h>
#include <rtl/byteseq.h>
+#include <sal/log.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
#include "file_url.hxx"
diff --git a/sal/osl/w32/file_dirvol.cxx b/sal/osl/w32/file_dirvol.cxx
index c9a6c4dd16b6..ef0f78491331 100644
--- a/sal/osl/w32/file_dirvol.cxx
+++ b/sal/osl/w32/file_dirvol.cxx
@@ -28,6 +28,7 @@
#include <rtl/alloc.h>
#include <rtl/ustring.hxx>
#include <rtl/character.hxx>
+#include <sal/log.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
static const wchar_t UNC_PREFIX[] = L"\\\\";
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index 9b5cb51b110a..6cdb140aa22d 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <algorithm>
diff --git a/sal/osl/w32/module.cxx b/sal/osl/w32/module.cxx
index 5f1daf6ae59e..de9ce4db421b 100644
--- a/sal/osl/w32/module.cxx
+++ b/sal/osl/w32/module.cxx
@@ -27,6 +27,7 @@
#include <osl/diagnose.h>
#include <osl/thread.h>
#include <osl/file.h>
+#include <sal/log.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
#include <vector>
diff --git a/sal/osl/w32/path_helper.cxx b/sal/osl/w32/path_helper.cxx
index 53e0ae0b19a2..900888bd1544 100644
--- a/sal/osl/w32/path_helper.cxx
+++ b/sal/osl/w32/path_helper.cxx
@@ -20,6 +20,7 @@
#include "path_helper.hxx"
#include <osl/diagnose.h>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <algorithm>
#include <wchar.h>
diff --git a/sal/osl/w32/process.cxx b/sal/osl/w32/process.cxx
index 153df540c5ae..92d61b93ada9 100644
--- a/sal/osl/w32/process.cxx
+++ b/sal/osl/w32/process.cxx
@@ -34,6 +34,7 @@
#include "file_url.hxx"
#include "path_helper.hxx"
#include <rtl/alloc.h>
+#include <sal/log.hxx>
oslProcessError SAL_CALL osl_terminateProcess(oslProcess Process)
{
diff --git a/sal/osl/w32/profile.cxx b/sal/osl/w32/profile.cxx
index 26a11e4d8672..63e172ed7553 100644
--- a/sal/osl/w32/profile.cxx
+++ b/sal/osl/w32/profile.cxx
@@ -30,6 +30,7 @@
#include <osl/file.h>
#include <rtl/alloc.h>
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
#include <algorithm>
#include <vector>
diff --git a/sal/qa/osl/security/osl_Security.cxx b/sal/qa/osl/security/osl_Security.cxx
index 5d7ebe2905dc..5c24b8260c4c 100644
--- a/sal/qa/osl/security/osl_Security.cxx
+++ b/sal/qa/osl/security/osl_Security.cxx
@@ -29,6 +29,7 @@
#include <osl/thread.h>
#include <rtl/process.h>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
using namespace osl;
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx
index 9184c3cce634..a802da6a562c 100644
--- a/sal/rtl/bootstrap.cxx
+++ b/sal/rtl/bootstrap.cxx
@@ -36,6 +36,7 @@
#include <rtl/instance.hxx>
#include <rtl/malformeduriexception.hxx>
#include <rtl/uri.hxx>
+#include <sal/log.hxx>
#include <vector>
#include <algorithm>
diff --git a/sal/test/testbootstrap.cxx b/sal/test/testbootstrap.cxx
index cef9e87ffaf1..9ae34f78c588 100644
--- a/sal/test/testbootstrap.cxx
+++ b/sal/test/testbootstrap.cxx
@@ -25,6 +25,7 @@
#include <rtl/byteseq.hxx>
#include <osl/process.h>
+#include <sal/log.hxx>
int main( int argc, char *argv[] )
{