diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-28 17:23:50 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-31 16:45:58 +0200 |
commit | b5867945d67dba505d0629e5e41fdc52bc78bfee (patch) | |
tree | f4df18de3e656c3d3a39fd046ca5e724a560b02d /shell | |
parent | 1bf7bc6f9929ceae0ea059b64ae0efa12228525f (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 sfx2 to starmath
Change-Id: I40ee7bfae6efdadd862319b7b693ad22c648e1c4
Reviewed-on: https://gerrit.libreoffice.org/58222
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/desktopbe/desktopbackend.cxx | 1 | ||||
-rw-r--r-- | shell/source/backends/localebe/localebackend.cxx | 1 | ||||
-rw-r--r-- | shell/source/backends/wininetbe/wininetbackend.cxx | 1 | ||||
-rw-r--r-- | shell/source/cmdmail/cmdmailsuppl.cxx | 1 | ||||
-rw-r--r-- | shell/source/unix/exec/shellexec.cxx | 1 | ||||
-rw-r--r-- | shell/source/unix/sysshell/recently_used_file.cxx | 1 | ||||
-rw-r--r-- | shell/source/win32/SysShExec.cxx | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/shell/source/backends/desktopbe/desktopbackend.cxx b/shell/source/backends/desktopbe/desktopbackend.cxx index 369de240859a..b5d77eed9f49 100644 --- a/shell/source/backends/desktopbe/desktopbackend.cxx +++ b/shell/source/backends/desktopbe/desktopbackend.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <com/sun/star/beans/Optional.hpp> #include <com/sun/star/beans/PropertyVetoException.hpp> diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx index 218b17212451..0e0f53c10e4f 100644 --- a/shell/source/backends/localebe/localebackend.cxx +++ b/shell/source/backends/localebe/localebackend.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <cassert> #include <limits> diff --git a/shell/source/backends/wininetbe/wininetbackend.cxx b/shell/source/backends/wininetbe/wininetbackend.cxx index 5334877d3451..dde01c74fd9c 100644 --- a/shell/source/backends/wininetbe/wininetbackend.cxx +++ b/shell/source/backends/wininetbe/wininetbackend.cxx @@ -19,6 +19,7 @@ #include <cppuhelper/supportsservice.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include "wininetbackend.hxx" diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx index 1173bac1ced7..7589cc014ee3 100644 --- a/shell/source/cmdmail/cmdmailsuppl.cxx +++ b/shell/source/cmdmail/cmdmailsuppl.cxx @@ -25,6 +25,7 @@ #include <osl/file.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include "cmdmailsuppl.hxx" #include "cmdmailmsg.hxx" #include <com/sun/star/system/SimpleMailClientFlags.hpp> diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index 34861674de96..7deeb5caa8a7 100644 --- a/shell/source/unix/exec/shellexec.cxx +++ b/shell/source/unix/exec/shellexec.cxx @@ -24,6 +24,7 @@ #include <osl/file.hxx> #include <rtl/strbuf.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <rtl/uri.hxx> #include "shellexec.hxx" diff --git a/shell/source/unix/sysshell/recently_used_file.cxx b/shell/source/unix/sysshell/recently_used_file.cxx index 9068e96b0b55..458a6da2fe79 100644 --- a/shell/source/unix/sysshell/recently_used_file.cxx +++ b/shell/source/unix/sysshell/recently_used_file.cxx @@ -19,6 +19,7 @@ #include "recently_used_file.hxx" #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <osl/process.h> #include <osl/security.hxx> #include <osl/thread.h> diff --git a/shell/source/win32/SysShExec.cxx b/shell/source/win32/SysShExec.cxx index 44cfed4876f0..e9e5909991c5 100644 --- a/shell/source/win32/SysShExec.cxx +++ b/shell/source/win32/SysShExec.cxx @@ -20,6 +20,7 @@ #include <algorithm> #include <osl/diagnose.h> +#include <sal/log.hxx> #include "SysShExec.hxx" #include <osl/file.hxx> #include <sal/macros.h> |