diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-08-05 00:50:24 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-06 16:04:35 +0200 |
commit | c40109cc4e2412b06a2cc2e92ac1267c6c338aed (patch) | |
tree | f47129805cee040499bf401ebabba1340b411c7f /sal/osl/w32 | |
parent | a472d3352a61b51624aea480410789e3f547a9ca (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/osl/w32')
-rw-r--r-- | sal/osl/w32/file.cxx | 1 | ||||
-rw-r--r-- | sal/osl/w32/file_dirvol.cxx | 1 | ||||
-rw-r--r-- | sal/osl/w32/file_url.cxx | 1 | ||||
-rw-r--r-- | sal/osl/w32/module.cxx | 1 | ||||
-rw-r--r-- | sal/osl/w32/path_helper.cxx | 1 | ||||
-rw-r--r-- | sal/osl/w32/process.cxx | 1 | ||||
-rw-r--r-- | sal/osl/w32/profile.cxx | 1 |
7 files changed, 7 insertions, 0 deletions
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> |