From a43b79f6f9d16d52cdd30b990169160573e5de17 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 28 Jul 2018 15:57:23 +0200 Subject: Add missing sal/log.hxx headers rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include (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 --- vcl/win/app/salinst.cxx | 1 + vcl/win/app/salshl.cxx | 1 + vcl/win/app/saltimer.cxx | 1 + vcl/win/gdi/DWriteTextRenderer.cxx | 1 + vcl/win/gdi/gdiimpl.cxx | 1 + vcl/win/gdi/salbmp.cxx | 1 + vcl/win/gdi/salfont.cxx | 1 + vcl/win/gdi/salprn.cxx | 1 + vcl/win/gdi/salvd.cxx | 1 + vcl/win/gdi/winlayout.cxx | 1 + vcl/win/window/salframe.cxx | 1 + vcl/win/window/salobj.cxx | 1 + 12 files changed, 12 insertions(+) (limited to 'vcl/win') 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 #include +#include #include #include #include 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 +#include #include 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 +#include #include 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 #include +#include 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 #include +#include #include #include #include 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 #include #include +#include #include #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 #include #include +#include #include #include #include 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 +#include #include #include 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 #include #include +#include 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 #include #include +#include #include 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 #include +#include #include 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 #include +#include #include #include -- cgit