summaryrefslogtreecommitdiff
path: root/vcl/headless
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/headless
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/headless')
-rw-r--r--vcl/headless/svpbmp.cxx1
-rw-r--r--vcl/headless/svpframe.cxx1
-rw-r--r--vcl/headless/svpgdi.cxx1
-rw-r--r--vcl/headless/svpinst.cxx1
4 files changed, 4 insertions, 0 deletions
diff --git a/vcl/headless/svpbmp.cxx b/vcl/headless/svpbmp.cxx
index ed74e702fbee..543e2ba8574e 100644
--- a/vcl/headless/svpbmp.cxx
+++ b/vcl/headless/svpbmp.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <cstring>
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index 724220ad60a9..20a3ffa68823 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -21,6 +21,7 @@
#include <comphelper/lok.hxx>
#include <vcl/syswin.hxx>
+#include <sal/log.hxx>
#include <headless/svpframe.hxx>
#include <headless/svpinst.hxx>
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index de1145a6cc7c..bd7bb5e6d256 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -24,6 +24,7 @@
#include <headless/svpcairotextrender.hxx>
#include <saldatabasic.hxx>
+#include <sal/log.hxx>
#include <o3tl/safeint.hxx>
#include <vcl/sysdata.hxx>
#include <config_cairo_canvas.h>
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 4291d594d5d3..5e0ec4c80b50 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -25,6 +25,7 @@
#include <sys/poll.h>
#include <sal/types.h>
+#include <sal/log.hxx>
#include <vcl/inputtypes.hxx>
#include <vcl/opengl/OpenGLContext.hxx>