summaryrefslogtreecommitdiff
path: root/sdext
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
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')
-rw-r--r--sdext/source/minimizer/configurationaccess.cxx1
-rw-r--r--sdext/source/minimizer/pppoptimizerdialog.cxx1
-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
-rw-r--r--sdext/source/presenter/PresenterAccessibility.cxx1
-rw-r--r--sdext/source/presenter/PresenterConfigurationAccess.cxx1
-rw-r--r--sdext/source/presenter/PresenterScreen.cxx1
-rw-r--r--sdext/source/presenter/PresenterTextView.cxx2
14 files changed, 15 insertions, 0 deletions
diff --git a/sdext/source/minimizer/configurationaccess.cxx b/sdext/source/minimizer/configurationaccess.cxx
index a38f0b708eca..a7c5cbd6df4f 100644
--- a/sdext/source/minimizer/configurationaccess.cxx
+++ b/sdext/source/minimizer/configurationaccess.cxx
@@ -27,6 +27,7 @@
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <comphelper/propertysequence.hxx>
#include <sal/macros.h>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sdext/source/minimizer/pppoptimizerdialog.cxx b/sdext/source/minimizer/pppoptimizerdialog.cxx
index 244eb2939262..f575e88a5f60 100644
--- a/sdext/source/minimizer/pppoptimizerdialog.cxx
+++ b/sdext/source/minimizer/pppoptimizerdialog.cxx
@@ -20,6 +20,7 @@
#include "pppoptimizerdialog.hxx"
#include "optimizerdialog.hxx"
+#include <sal/log.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
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>
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx
index 06f63fdf94ab..08dcb4ea18be 100644
--- a/sdext/source/presenter/PresenterAccessibility.cxx
+++ b/sdext/source/presenter/PresenterAccessibility.cxx
@@ -40,6 +40,7 @@
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/implbase.hxx>
+#include <sal/log.hxx>
#include <algorithm>
diff --git a/sdext/source/presenter/PresenterConfigurationAccess.cxx b/sdext/source/presenter/PresenterConfigurationAccess.cxx
index c1ca22f77dd0..38e6e6b93b5d 100644
--- a/sdext/source/presenter/PresenterConfigurationAccess.cxx
+++ b/sdext/source/presenter/PresenterConfigurationAccess.cxx
@@ -27,6 +27,7 @@
#include <comphelper/propertysequence.hxx>
#include <osl/diagnose.h>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sdext/source/presenter/PresenterScreen.cxx b/sdext/source/presenter/PresenterScreen.cxx
index 8c3d7cf35752..55c9faaae693 100644
--- a/sdext/source/presenter/PresenterScreen.cxx
+++ b/sdext/source/presenter/PresenterScreen.cxx
@@ -40,6 +40,7 @@
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <vcl/svapp.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx
index c6fef6764269..3583438bcd81 100644
--- a/sdext/source/presenter/PresenterTextView.cxx
+++ b/sdext/source/presenter/PresenterTextView.cxx
@@ -25,6 +25,8 @@
#include <algorithm>
#include <cmath>
+#include <sal/log.hxx>
+
#include <com/sun/star/accessibility/AccessibleTextType.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
#include <com/sun/star/i18n/BreakIterator.hpp>