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/win | |
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/win')
-rw-r--r-- | vcl/win/app/salinst.cxx | 1 | ||||
-rw-r--r-- | vcl/win/app/salshl.cxx | 1 | ||||
-rw-r--r-- | vcl/win/app/saltimer.cxx | 1 | ||||
-rw-r--r-- | vcl/win/gdi/DWriteTextRenderer.cxx | 1 | ||||
-rw-r--r-- | vcl/win/gdi/gdiimpl.cxx | 1 | ||||
-rw-r--r-- | vcl/win/gdi/salbmp.cxx | 1 | ||||
-rw-r--r-- | vcl/win/gdi/salfont.cxx | 1 | ||||
-rw-r--r-- | vcl/win/gdi/salprn.cxx | 1 | ||||
-rw-r--r-- | vcl/win/gdi/salvd.cxx | 1 | ||||
-rw-r--r-- | vcl/win/gdi/winlayout.cxx | 1 | ||||
-rw-r--r-- | vcl/win/window/salframe.cxx | 1 | ||||
-rw-r--r-- | vcl/win/window/salobj.cxx | 1 |
12 files changed, 12 insertions, 0 deletions
diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx index 468cff39f485..778d0a4b2e7e 100644 --- a/vcl/win/app/salinst.cxx +++ b/vcl/win/app/salinst.cxx @@ -23,6 +23,7 @@ #include <osl/conditn.hxx> #include <osl/file.hxx> +#include <sal/log.hxx> #include <tools/time.hxx> #include <comphelper/solarmutex.hxx> #include <o3tl/char16_t2wchar_t.hxx> diff --git a/vcl/win/app/salshl.cxx b/vcl/win/app/salshl.cxx index 1cd38e05abeb..5619ece1f057 100644 --- a/vcl/win/app/salshl.cxx +++ b/vcl/win/app/salshl.cxx @@ -18,6 +18,7 @@ */ #include <svsys.h> +#include <sal/log.hxx> #include <win/saldata.hxx> SalShlData aSalShlData; diff --git a/vcl/win/app/saltimer.cxx b/vcl/win/app/saltimer.cxx index c70189be4bba..689c055a55f5 100644 --- a/vcl/win/app/saltimer.cxx +++ b/vcl/win/app/saltimer.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <tools/time.hxx> diff --git a/vcl/win/gdi/DWriteTextRenderer.cxx b/vcl/win/gdi/DWriteTextRenderer.cxx index ffca720f3e6b..7662bcc0aff4 100644 --- a/vcl/win/gdi/DWriteTextRenderer.cxx +++ b/vcl/win/gdi/DWriteTextRenderer.cxx @@ -30,6 +30,7 @@ #include <winver.h> #include <comphelper/windowserrorstring.hxx> +#include <sal/log.hxx> HINSTANCE D2DWriteTextOutRenderer::mmD2d1 = nullptr, D2DWriteTextOutRenderer::mmDWrite = nullptr; diff --git a/vcl/win/gdi/gdiimpl.cxx b/vcl/win/gdi/gdiimpl.cxx index 5b7f225e7d96..a66f1f5f9579 100644 --- a/vcl/win/gdi/gdiimpl.cxx +++ b/vcl/win/gdi/gdiimpl.cxx @@ -23,6 +23,7 @@ #include <string.h> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <tools/poly.hxx> #include <basegfx/polygon/b2dpolygon.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> diff --git a/vcl/win/gdi/salbmp.cxx b/vcl/win/gdi/salbmp.cxx index 9e001429abb1..36bab849a316 100644 --- a/vcl/win/gdi/salbmp.cxx +++ b/vcl/win/gdi/salbmp.cxx @@ -27,6 +27,7 @@ #include <string.h> #include <vcl/timer.hxx> #include <cppuhelper/basemutex.hxx> +#include <sal/log.hxx> #include <map> #if defined _MSC_VER diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index 16613637f56b..61f76dd74608 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -36,6 +36,7 @@ #include <osl/process.h> #include <rtl/bootstrap.hxx> #include <rtl/tencinfo.h> +#include <sal/log.hxx> #include <o3tl/char16_t2wchar_t.hxx> #include <tools/helpers.hxx> #include <tools/stream.hxx> diff --git a/vcl/win/gdi/salprn.cxx b/vcl/win/gdi/salprn.cxx index 0f16b32ab530..2cf633fb3ade 100644 --- a/vcl/win/gdi/salprn.cxx +++ b/vcl/win/gdi/salprn.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <memory> #include <string.h> diff --git a/vcl/win/gdi/salvd.cxx b/vcl/win/gdi/salvd.cxx index 3532f2134f4d..f0cf1fc9f47b 100644 --- a/vcl/win/gdi/salvd.cxx +++ b/vcl/win/gdi/salvd.cxx @@ -29,6 +29,7 @@ #include <win/salgdi.h> #include <win/salvd.h> #include <opengl/win/gdiimpl.hxx> +#include <sal/log.hxx> HBITMAP WinSalVirtualDevice::ImplCreateVirDevBitmap(HDC hDC, long nDX, long nDY, sal_uInt16 nBitCount, void **ppData) { diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index 1295d5bf1d4b..3800fcd9adc3 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -20,6 +20,7 @@ #include <memory> #include <osl/module.h> #include <osl/file.h> +#include <sal/log.hxx> #include <comphelper/windowserrorstring.hxx> diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index 633e97c6670e..7d37bdcc652c 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -35,6 +35,7 @@ #include <rtl/string.h> #include <rtl/ustring.h> +#include <sal/log.hxx> #include <osl/module.h> diff --git a/vcl/win/window/salobj.cxx b/vcl/win/window/salobj.cxx index ad352217ed89..fcc2cd043f92 100644 --- a/vcl/win/window/salobj.cxx +++ b/vcl/win/window/salobj.cxx @@ -22,6 +22,7 @@ #include <svsys.h> #include <vcl/svapp.hxx> +#include <sal/log.hxx> #include <win/wincomp.hxx> #include <win/saldata.hxx> |