diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-28 15:57:23 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-31 10:48:50 +0200 |
commit | a43b79f6f9d16d52cdd30b990169160573e5de17 (patch) | |
tree | ef46aa35ee2bd1878b34110ec90720bf9b9ac0ec /vcl/workben | |
parent | 7a3e7ee1c7323e6db279d006ff218e6543228f3f (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 directory vcl
Change-Id: I205fe0f4e80a66cd9c3b19f7e9716411da1d1cf5
Reviewed-on: https://gerrit.libreoffice.org/58221
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/icontest.cxx | 1 | ||||
-rw-r--r-- | vcl/workben/mtfdemo.cxx | 1 | ||||
-rw-r--r-- | vcl/workben/outdevgrind.cxx | 1 | ||||
-rw-r--r-- | vcl/workben/svdem.cxx | 1 | ||||
-rw-r--r-- | vcl/workben/svpclient.cxx | 1 | ||||
-rw-r--r-- | vcl/workben/svptest.cxx | 1 | ||||
-rw-r--r-- | vcl/workben/vcldemo.cxx | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/vcl/workben/icontest.cxx b/vcl/workben/icontest.cxx index 9280ddeb9259..5f6743a52966 100644 --- a/vcl/workben/icontest.cxx +++ b/vcl/workben/icontest.cxx @@ -29,6 +29,7 @@ #include <comphelper/processfactory.hxx> #include <cppuhelper/bootstrap.hxx> #include <osl/file.hxx> +#include <sal/log.hxx> #include <vcl/builder.hxx> #include <vcl/button.hxx> #include <vcl/dialog.hxx> diff --git a/vcl/workben/mtfdemo.cxx b/vcl/workben/mtfdemo.cxx index d70be0f230e1..7addd2bc54a3 100644 --- a/vcl/workben/mtfdemo.cxx +++ b/vcl/workben/mtfdemo.cxx @@ -25,6 +25,7 @@ #include <vcl/svapp.hxx> #include <vcl/wrkwin.hxx> #include <vcl/virdev.hxx> +#include <sal/log.hxx> #include <cstdlib> diff --git a/vcl/workben/outdevgrind.cxx b/vcl/workben/outdevgrind.cxx index 04889307c8ce..317762eaa861 100644 --- a/vcl/workben/outdevgrind.cxx +++ b/vcl/workben/outdevgrind.cxx @@ -18,6 +18,7 @@ */ #include <sal/main.h> +#include <sal/log.hxx> #include <tools/extendapplicationenvironment.hxx> #include <cppuhelper/bootstrap.hxx> diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx index c406fba46c57..a2750f532e9e 100644 --- a/vcl/workben/svdem.cxx +++ b/vcl/workben/svdem.cxx @@ -18,6 +18,7 @@ */ #include <sal/main.h> +#include <sal/log.hxx> #include <tools/extendapplicationenvironment.hxx> #include <cppuhelper/bootstrap.hxx> diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx index c84919cb59aa..b096a205572d 100644 --- a/vcl/workben/svpclient.cxx +++ b/vcl/workben/svpclient.cxx @@ -18,6 +18,7 @@ */ #include <sal/main.h> +#include <sal/log.hxx> #include <cppuhelper/bootstrap.hxx> #include <comphelper/processfactory.hxx> diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx index 190af5689bf3..00f99091e92d 100644 --- a/vcl/workben/svptest.cxx +++ b/vcl/workben/svptest.cxx @@ -18,6 +18,7 @@ */ #include <sal/main.h> +#include <sal/log.hxx> #include <tools/extendapplicationenvironment.hxx> #include <cppuhelper/bootstrap.hxx> diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx index 4cac3e072ab7..ba27b77bdaab 100644 --- a/vcl/workben/vcldemo.cxx +++ b/vcl/workben/vcldemo.cxx @@ -11,6 +11,7 @@ #include <math.h> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/random.hxx> |