summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-28 16:47:47 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-07-30 17:28:49 +0200
commitefdc775d7dd464dcbd917623df94df87810d9bf3 (patch)
tree74429bd55327dce26e4c6b1cb7553827f0dd384e /sdext/source/pdfimport
parent05ae22e9f99ae6236a77a3fbfb5ac1e3f95df619 (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 scripting, sd, sdext Change-Id: I47889cd889cf1d68353184229bfd4712f1528fbf Reviewed-on: https://gerrit.libreoffice.org/58220 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sdext/source/pdfimport')
-rw-r--r--sdext/source/pdfimport/filterdet.cxx1
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfentries.cxx1
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfparse.cxx1
-rw-r--r--sdext/source/pdfimport/test/pdf2xml.cxx1
-rw-r--r--sdext/source/pdfimport/tree/genericelements.cxx1
-rw-r--r--sdext/source/pdfimport/tree/imagecontainer.cxx1
-rw-r--r--sdext/source/pdfimport/tree/pdfiprocessor.cxx1
-rw-r--r--sdext/source/pdfimport/wrapper/wrapper.cxx1
8 files changed, 8 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/filterdet.cxx b/sdext/source/pdfimport/filterdet.cxx
index 6a0d1b699cb8..43cfd1ff0120 100644
--- a/sdext/source/pdfimport/filterdet.cxx
+++ b/sdext/source/pdfimport/filterdet.cxx
@@ -26,6 +26,7 @@
#include <osl/thread.h>
#include <rtl/digest.h>
#include <rtl/ref.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/io/IOException.hpp>
#include <com/sun/star/io/XInputStream.hpp>
diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
index 64338984907d..724dc766afe1 100644
--- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
@@ -28,6 +28,7 @@
#include <rtl/alloc.h>
#include <rtl/digest.h>
#include <rtl/cipher.h>
+#include <sal/log.hxx>
#include <zlib.h>
diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
index 64dcf7d71989..e976e8c3a7f4 100644
--- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
@@ -39,6 +39,7 @@
#include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/alloc.h>
+#include <sal/log.hxx>
// disable warnings again because someone along the line has enabled them
// (we have included boost headers, what did you expect?)
diff --git a/sdext/source/pdfimport/test/pdf2xml.cxx b/sdext/source/pdfimport/test/pdf2xml.cxx
index 4ea8a1fc8026..5d8c06ca0294 100644
--- a/sdext/source/pdfimport/test/pdf2xml.cxx
+++ b/sdext/source/pdfimport/test/pdf2xml.cxx
@@ -28,6 +28,7 @@
#include <sal/main.h>
#include <osl/process.h>
#include <rtl/ref.hxx>
+#include <sal/log.hxx>
#include <unotest/bootstrapfixturebase.hxx>
#include <comphelper/processfactory.hxx>
#include <cppuhelper/bootstrap.hxx>
diff --git a/sdext/source/pdfimport/tree/genericelements.cxx b/sdext/source/pdfimport/tree/genericelements.cxx
index 0b7177561b6e..410b371134a8 100644
--- a/sdext/source/pdfimport/tree/genericelements.cxx
+++ b/sdext/source/pdfimport/tree/genericelements.cxx
@@ -28,6 +28,7 @@
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <basegfx/range/b2drange.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
namespace pdfi
{
diff --git a/sdext/source/pdfimport/tree/imagecontainer.cxx b/sdext/source/pdfimport/tree/imagecontainer.cxx
index 2661544010fd..0487717c1924 100644
--- a/sdext/source/pdfimport/tree/imagecontainer.cxx
+++ b/sdext/source/pdfimport/tree/imagecontainer.cxx
@@ -23,6 +23,7 @@
#include <xmlemitter.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <osl/file.h>
#include <rtl/crc.h>
diff --git a/sdext/source/pdfimport/tree/pdfiprocessor.cxx b/sdext/source/pdfimport/tree/pdfiprocessor.cxx
index 67b20c8a3f44..e99b72bbf3f0 100644
--- a/sdext/source/pdfimport/tree/pdfiprocessor.cxx
+++ b/sdext/source/pdfimport/tree/pdfiprocessor.cxx
@@ -28,6 +28,7 @@
#include <rtl/string.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <comphelper/sequence.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx
index d34573d65ee6..0294b3c6fb12 100644
--- a/sdext/source/pdfimport/wrapper/wrapper.cxx
+++ b/sdext/source/pdfimport/wrapper/wrapper.cxx
@@ -34,6 +34,7 @@
#include <rtl/ustrbuf.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/byteseq.hxx>
+#include <sal/log.hxx>
#include <comphelper/lok.hxx>
#include <comphelper/propertysequence.hxx>