summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-08 15:01:23 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-07-09 10:49:06 +0200
commit7af90cc93b76996f0f338c6a1285997531281e75 (patch)
tree5bcc07cf1cdcccc9b7b14ead80b3fbe46e179693 /basic
parent432a935d4e178b4e1e54c2ec864cb5e05bb03d9b (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 a* to configmgr Change-Id: I6ea1a7f992b1f835f5bac7a725e1135abee3f85a Reviewed-on: https://gerrit.libreoffice.org/57170 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/basmgr/basmgr.cxx1
-rw-r--r--basic/source/classes/eventatt.cxx1
-rw-r--r--basic/source/classes/image.cxx1
-rw-r--r--basic/source/classes/sb.cxx1
-rw-r--r--basic/source/runtime/dllmgr-x64.cxx1
-rw-r--r--basic/source/runtime/dllmgr-x86.cxx1
-rw-r--r--basic/source/runtime/iosys.cxx1
-rw-r--r--basic/source/runtime/methods.cxx1
-rw-r--r--basic/source/sbx/sbxbase.cxx1
-rw-r--r--basic/source/sbx/sbxobj.cxx1
-rw-r--r--basic/source/sbx/sbxscan.cxx1
-rw-r--r--basic/source/sbx/sbxvalue.cxx1
-rw-r--r--basic/source/sbx/sbxvar.cxx1
-rw-r--r--basic/source/uno/namecont.cxx1
-rw-r--r--basic/source/uno/scriptcont.cxx1
15 files changed, 15 insertions, 0 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index 90c15c5edc08..77b2b5fe2235 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -33,6 +33,7 @@
#include <basic/sbmod.hxx>
#include <unotools/intlwrapper.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
#include <basic/sbuno.hxx>
#include <basic/basmgr.hxx>
diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx
index 97e3f78b4329..15f2617dfe48 100644
--- a/basic/source/classes/eventatt.cxx
+++ b/basic/source/classes/eventatt.cxx
@@ -40,6 +40,7 @@
#include <basic/basicmanagerrepository.hxx>
#include <basic/basmgr.hxx>
+#include <sal/log.hxx>
#include <vcl/svapp.hxx>
#include <xmlscript/xmldlg_imexp.hxx>
#include <sbunoobj.hxx>
diff --git a/basic/source/classes/image.cxx b/basic/source/classes/image.cxx
index 7636a62d419c..a2a340a84eb4 100644
--- a/basic/source/classes/image.cxx
+++ b/basic/source/classes/image.cxx
@@ -20,6 +20,7 @@
#include <tools/stream.hxx>
#include <tools/tenccvt.hxx>
#include <osl/thread.h>
+#include <sal/log.hxx>
#include <basic/sbx.hxx>
#include <sb.hxx>
#include <string.h>
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index c418776fa764..82e7b377af55 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -39,6 +39,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/util/XCloseBroadcaster.hpp>
#include <com/sun/star/util/XCloseListener.hpp>
+#include <sal/log.hxx>
#include <errobject.hxx>
#include <memory>
#include <unordered_map>
diff --git a/basic/source/runtime/dllmgr-x64.cxx b/basic/source/runtime/dllmgr-x64.cxx
index 5798bc7c2228..b69c95cf2f88 100644
--- a/basic/source/runtime/dllmgr-x64.cxx
+++ b/basic/source/runtime/dllmgr-x64.cxx
@@ -37,6 +37,7 @@
#include <rtl/ref.hxx>
#include <rtl/string.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <salhelper/simplereferenceobject.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
diff --git a/basic/source/runtime/dllmgr-x86.cxx b/basic/source/runtime/dllmgr-x86.cxx
index 63fd3bcea160..7c4720fc246b 100644
--- a/basic/source/runtime/dllmgr-x86.cxx
+++ b/basic/source/runtime/dllmgr-x86.cxx
@@ -36,6 +36,7 @@
#include <rtl/ref.hxx>
#include <rtl/string.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <salhelper/simplereferenceobject.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx
index 47c00c39909b..3413ebc355e1 100644
--- a/basic/source/runtime/iosys.cxx
+++ b/basic/source/runtime/iosys.cxx
@@ -29,6 +29,7 @@
#include <rtl/textenc.h>
#include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 4eb36147f175..919b81247bfe 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -42,6 +42,7 @@
#include <i18nlangtag/lang.h>
#include <rtl/string.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <runtime.hxx>
#include <sbunoobj.hxx>
diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx
index 5e027372b7b6..8259f9e2927d 100644
--- a/basic/source/sbx/sbxbase.cxx
+++ b/basic/source/sbx/sbxbase.cxx
@@ -29,6 +29,7 @@
#include <rtl/instance.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
// AppData-Structure for SBX:
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx
index 54eedd360bda..b0cf727672ff 100644
--- a/basic/source/sbx/sbxobj.cxx
+++ b/basic/source/sbx/sbxobj.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <iomanip>
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index 7f9b4931ea48..2b229082f665 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -46,6 +46,7 @@
#include <rtl/strbuf.hxx>
#include <rtl/character.hxx>
+#include <sal/log.hxx>
#include <svl/zforlist.hxx>
#include <o3tl/make_unique.hxx>
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index 0f609d866135..4de7036237b2 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -22,6 +22,7 @@
#include <math.h>
#include <tools/debug.hxx>
#include <tools/stream.hxx>
+#include <sal/log.hxx>
#include <basic/sbx.hxx>
#include <sbunoobj.hxx>
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx
index 30088e0746f9..59751d4d6288 100644
--- a/basic/source/sbx/sbxvar.cxx
+++ b/basic/source/sbx/sbxvar.cxx
@@ -30,6 +30,7 @@
#include <sbunoobj.hxx>
#include <math.h>
#include <rtl/character.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/uno/XInterface.hpp>
using namespace com::sun::star::uno;
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 8ad36224f819..b0cea4fed6be 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -34,6 +34,7 @@
#include <vcl/errinf.hxx>
#include <rtl/ustring.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <comphelper/getexpandeduri.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/anytostring.hxx>
diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx
index aba9aabbee01..14b11e5f0e99 100644
--- a/basic/source/uno/scriptcont.cxx
+++ b/basic/source/uno/scriptcont.cxx
@@ -40,6 +40,7 @@
#include <osl/thread.h>
#include <rtl/digest.h>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
// For password functionality
#include <tools/urlobj.hxx>