diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-28 17:43:23 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-02 10:39:00 +0200 |
commit | bd8320952522165ee7f5f6cbe2675ea674ec5749 (patch) | |
tree | c0574742c59a06239a4a8be681ddadac50531f5c /svx/source/xml | |
parent | 1e9f594f7eb4a813c3a566114198632352a163d8 (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 stoc to svx
Change-Id: If562b1aa1d676d2c1cf513e953238abbb846c65c
Reviewed-on: https://gerrit.libreoffice.org/58224
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'svx/source/xml')
-rw-r--r-- | svx/source/xml/xmleohlp.cxx | 1 | ||||
-rw-r--r-- | svx/source/xml/xmlgrhlp.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx index a5058f1e7610..b3859a92acfd 100644 --- a/svx/source/xml/xmleohlp.cxx +++ b/svx/source/xml/xmleohlp.cxx @@ -32,6 +32,7 @@ #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> #include <sot/storage.hxx> #include <tools/debug.hxx> +#include <sal/log.hxx> #include <unotools/streamwrap.hxx> #include <unotools/tempfile.hxx> diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index 553522172a27..40c64f81fac4 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <comphelper/string.hxx> #include <sal/macros.h> |