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/opengl/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/opengl/win')
-rw-r--r-- | vcl/opengl/win/WinDeviceInfo.cxx | 1 | ||||
-rw-r--r-- | vcl/opengl/win/blocklist_parser.cxx | 2 | ||||
-rw-r--r-- | vcl/opengl/win/gdiimpl.cxx | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx index 9b4438cbccdb..29439b9ae43a 100644 --- a/vcl/opengl/win/WinDeviceInfo.cxx +++ b/vcl/opengl/win/WinDeviceInfo.cxx @@ -25,6 +25,7 @@ #include <osl/file.hxx> #include <rtl/bootstrap.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <tools/stream.hxx> #include <o3tl/char16_t2wchar_t.hxx> diff --git a/vcl/opengl/win/blocklist_parser.cxx b/vcl/opengl/win/blocklist_parser.cxx index 8a6f9dbc4cda..ab89c0e4d567 100644 --- a/vcl/opengl/win/blocklist_parser.cxx +++ b/vcl/opengl/win/blocklist_parser.cxx @@ -9,6 +9,8 @@ #include <opengl/win/blocklist_parser.hxx> +#include <sal/log.hxx> + WinBlocklistParser::WinBlocklistParser(const OUString& rURL, std::vector<wgl::DriverInfo>& rDriverList) : meBlockType(BlockType::UNKNOWN) diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx index 96f0b8bce57d..5d4158c3b3d7 100644 --- a/vcl/opengl/win/gdiimpl.cxx +++ b/vcl/opengl/win/gdiimpl.cxx @@ -11,6 +11,7 @@ #include <thread> #include <opengl/win/gdiimpl.hxx> +#include <sal/log.hxx> #include <comphelper/windowserrorstring.hxx> #include <opengl/zone.hxx> #include <win/wincomp.hxx> |