From 7af90cc93b76996f0f338c6a1285997531281e75 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sun, 8 Jul 2018 15:01:23 +0200 Subject: Add missing sal/log.hxx headers rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include (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 --- basic/source/basmgr/basmgr.cxx | 1 + basic/source/classes/eventatt.cxx | 1 + basic/source/classes/image.cxx | 1 + basic/source/classes/sb.cxx | 1 + basic/source/runtime/dllmgr-x64.cxx | 1 + basic/source/runtime/dllmgr-x86.cxx | 1 + basic/source/runtime/iosys.cxx | 1 + basic/source/runtime/methods.cxx | 1 + basic/source/sbx/sbxbase.cxx | 1 + basic/source/sbx/sbxobj.cxx | 1 + basic/source/sbx/sbxscan.cxx | 1 + basic/source/sbx/sbxvalue.cxx | 1 + basic/source/sbx/sbxvar.cxx | 1 + basic/source/uno/namecont.cxx | 1 + basic/source/uno/scriptcont.cxx | 1 + 15 files changed, 15 insertions(+) (limited to 'basic') 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 #include #include +#include #include #include 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 #include +#include #include #include #include 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 #include #include +#include #include #include #include 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 #include #include +#include #include #include #include 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 #include #include +#include #include #include 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 #include #include +#include #include #include 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 #include #include +#include #include #include 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 #include #include +#include #include #include 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 #include +#include // 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 +#include #include 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 #include +#include #include #include 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 #include #include +#include #include #include 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 #include #include +#include #include 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 #include #include +#include #include #include #include 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 #include #include +#include // For password functionality #include -- cgit