diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-27 17:57:59 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-30 09:28:40 +0200 |
commit | bdb0775a262cb66e8924303c98bf5180a7fb02ee (patch) | |
tree | 0e0d35a99ffad8d4f6f9ffe89a7bb7b1d02739fb /helpcompiler/source | |
parent | 9cceba9a928cf3b3447f293020be2fe76c035ed5 (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 filter to jvmfwk
Change-Id: I2a73d63f2aaef5f26d7d08957daaa8a30b412ac5
Reviewed-on: https://gerrit.libreoffice.org/58204
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'helpcompiler/source')
-rw-r--r-- | helpcompiler/source/HelpCompiler.cxx | 3 | ||||
-rw-r--r-- | helpcompiler/source/HelpLinker.cxx | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx index 5abbdc648f41..4392328a08a5 100644 --- a/helpcompiler/source/HelpCompiler.cxx +++ b/helpcompiler/source/HelpCompiler.cxx @@ -30,7 +30,8 @@ #include <libxslt/xsltutils.h> #include <osl/thread.hxx> #include <chrono> -#include<rtl/character.hxx> +#include <rtl/character.hxx> +#include <sal/log.hxx> static void impl_sleep( sal_uInt32 nSec ) { diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index da6365fe4b7c..c6a9d5741f52 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -35,6 +35,7 @@ #include <osl/time.h> #include <rtl/bootstrap.hxx> #include <o3tl/char16_t2wchar_t.hxx> +#include <sal/log.hxx> #include <expat.h> #include <memory> |