summaryrefslogtreecommitdiff
path: root/emfio
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-27 09:42:16 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-01 09:49:07 +0200
commit3fb5f7181dc30425e31653e48ac1de9d4d20a3df (patch)
treef2b6ce893d65d2843a9e8d304ddc96be7a75806a /emfio
parentd8b7ac327cfe39f46aaa871cfa7a8fdc8b2b6b54 (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 directories from dbaccess to extensions Change-Id: I4d15aa35e11664ef78c836ffc2937c7e0bb6ea59 Reviewed-on: https://gerrit.libreoffice.org/58165 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'emfio')
-rw-r--r--emfio/source/reader/emfreader.cxx1
-rw-r--r--emfio/source/reader/mtftools.cxx1
-rw-r--r--emfio/source/reader/wmfreader.cxx1
3 files changed, 3 insertions, 0 deletions
diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx
index 5164450bcece..f4a0bd300947 100644
--- a/emfio/source/reader/emfreader.cxx
+++ b/emfio/source/reader/emfreader.cxx
@@ -19,6 +19,7 @@
#include <emfreader.hxx>
#include <osl/endian.h>
+#include <sal/log.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <vcl/dibtools.hxx>
#include <o3tl/make_unique.hxx>
diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx
index 89ca286a9501..1b76907cd8ff 100644
--- a/emfio/source/reader/mtftools.cxx
+++ b/emfio/source/reader/mtftools.cxx
@@ -31,6 +31,7 @@
#include <tools/fract.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/tencinfo.h>
+#include <sal/log.hxx>
#include <vcl/virdev.hxx>
#include <o3tl/make_unique.hxx>
#include <o3tl/safeint.hxx>
diff --git a/emfio/source/reader/wmfreader.cxx b/emfio/source/reader/wmfreader.cxx
index f93eb0cbc31a..ec813e645447 100644
--- a/emfio/source/reader/wmfreader.cxx
+++ b/emfio/source/reader/wmfreader.cxx
@@ -24,6 +24,7 @@
#include <boost/optional.hpp>
#include <rtl/crc.h>
#include <rtl/tencinfo.h>
+#include <sal/log.hxx>
#include <osl/endian.h>
#include <vcl/gdimtf.hxx>
#include <vcl/svapp.hxx>