summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-28 15:57:23 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-07-31 10:48:50 +0200
commita43b79f6f9d16d52cdd30b990169160573e5de17 (patch)
treeef46aa35ee2bd1878b34110ec90720bf9b9ac0ec /vcl/opengl
parent7a3e7ee1c7323e6db279d006ff218e6543228f3f (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')
-rw-r--r--vcl/opengl/gdiimpl.cxx1
-rw-r--r--vcl/opengl/salbmp.cxx1
-rw-r--r--vcl/opengl/scale.cxx1
-rw-r--r--vcl/opengl/texture.cxx1
-rw-r--r--vcl/opengl/win/WinDeviceInfo.cxx1
-rw-r--r--vcl/opengl/win/blocklist_parser.cxx2
-rw-r--r--vcl/opengl/win/gdiimpl.cxx1
-rw-r--r--vcl/opengl/x11/X11DeviceInfo.cxx1
-rw-r--r--vcl/opengl/x11/gdiimpl.cxx1
9 files changed, 10 insertions, 0 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index d7965883d2d7..281153ceb376 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -29,6 +29,7 @@
#include <basegfx/polygon/b2dpolygontriangulator.hxx>
#include <basegfx/polygon/b2dpolypolygoncutter.hxx>
#include <basegfx/polygon/b2dtrapezoid.hxx>
+#include <sal/log.hxx>
#include <vcl/opengl/OpenGLHelper.hxx>
#include <salgdi.hxx>
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx
index 20d0ac1fadd3..fd07b1659f0d 100644
--- a/vcl/opengl/salbmp.cxx
+++ b/vcl/opengl/salbmp.cxx
@@ -19,6 +19,7 @@
#include <memory>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <vcl/opengl/OpenGLHelper.hxx>
diff --git a/vcl/opengl/scale.cxx b/vcl/opengl/scale.cxx
index a5280bf70817..6459933cb81b 100644
--- a/vcl/opengl/scale.cxx
+++ b/vcl/opengl/scale.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <cmath>
diff --git a/vcl/opengl/texture.cxx b/vcl/opengl/texture.cxx
index c26017e79118..45b3b35b7712 100644
--- a/vcl/opengl/texture.cxx
+++ b/vcl/opengl/texture.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <tools/stream.hxx>
#include <vcl/opengl/OpenGLContext.hxx>
#include <vcl/opengl/OpenGLHelper.hxx>
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>
diff --git a/vcl/opengl/x11/X11DeviceInfo.cxx b/vcl/opengl/x11/X11DeviceInfo.cxx
index 5388f85c0c3d..ae0ef85e2a34 100644
--- a/vcl/opengl/x11/X11DeviceInfo.cxx
+++ b/vcl/opengl/x11/X11DeviceInfo.cxx
@@ -13,6 +13,7 @@
#include <config_features.h>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <unistd.h>
#include <sys/types.h>
diff --git a/vcl/opengl/x11/gdiimpl.cxx b/vcl/opengl/x11/gdiimpl.cxx
index 5104d6302973..27539319ed03 100644
--- a/vcl/opengl/x11/gdiimpl.cxx
+++ b/vcl/opengl/x11/gdiimpl.cxx
@@ -29,6 +29,7 @@
#include <vcl/opengl/OpenGLContext.hxx>
#include <vcl/opengl/OpenGLHelper.hxx>
+#include <sal/log.hxx>
#include <o3tl/lru_map.hxx>
#include <ControlCacheKey.hxx>