diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-27 09:42:16 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-01 09:49:07 +0200 |
commit | 3fb5f7181dc30425e31653e48ac1de9d4d20a3df (patch) | |
tree | f2b6ce893d65d2843a9e8d304ddc96be7a75806a /desktop/source/app | |
parent | d8b7ac327cfe39f46aaa871cfa7a8fdc8b2b6b54 (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 dbaccess to extensions
Change-Id: I4d15aa35e11664ef78c836ffc2937c7e0bb6ea59
Reviewed-on: https://gerrit.libreoffice.org/58165
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'desktop/source/app')
-rw-r--r-- | desktop/source/app/cmdlineargs.cxx | 1 | ||||
-rw-r--r-- | desktop/source/app/opencl.cxx | 1 | ||||
-rw-r--r-- | desktop/source/app/updater.cxx | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx index e67f204866e9..bbe3bcbeb5ee 100644 --- a/desktop/source/app/cmdlineargs.cxx +++ b/desktop/source/app/cmdlineargs.cxx @@ -40,6 +40,7 @@ #include <rtl/strbuf.hxx> #include <osl/file.hxx> +#include <sal/log.hxx> using namespace com::sun::star::lang; using namespace com::sun::star::uri; diff --git a/desktop/source/app/opencl.cxx b/desktop/source/app/opencl.cxx index cb00a8720989..ed58733e8ab6 100644 --- a/desktop/source/app/opencl.cxx +++ b/desktop/source/app/opencl.cxx @@ -19,6 +19,7 @@ #include <config_folders.h> #include <rtl/bootstrap.hxx> +#include <sal/log.hxx> #include <officecfg/Office/Calc.hxx> #include <officecfg/Office/Common.hxx> diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx index e90cf3bd1991..adcc130751e7 100644 --- a/desktop/source/app/updater.cxx +++ b/desktop/source/app/updater.cxx @@ -30,6 +30,7 @@ #include <unotools/configmgr.hxx> #include <osl/file.hxx> #include <rtl/process.h> +#include <sal/log.hxx> #include <curl/curl.h> |