summaryrefslogtreecommitdiff
path: root/extensions
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 /extensions
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 'extensions')
-rw-r--r--extensions/source/abpilot/fieldmappingimpl.cxx1
-rw-r--r--extensions/source/bibliography/formcontrolcontainer.cxx1
-rw-r--r--extensions/source/config/WinUserInfo/WinUserInfoBe.cxx1
-rw-r--r--extensions/source/config/ldap/ldapuserprofilebe.cxx1
-rw-r--r--extensions/source/dbpilots/listcombowizard.cxx1
-rw-r--r--extensions/source/logging/filehandler.cxx1
-rw-r--r--extensions/source/ole/oleobjw.cxx1
-rw-r--r--extensions/source/ole/servprov.cxx1
-rw-r--r--extensions/source/ole/unoobjw.cxx1
-rw-r--r--extensions/source/propctrlr/browserlistbox.cxx1
-rw-r--r--extensions/source/propctrlr/eformspropertyhandler.cxx1
-rw-r--r--extensions/source/propctrlr/propcontroller.cxx1
-rw-r--r--extensions/source/propctrlr/selectlabeldialog.cxx1
-rw-r--r--extensions/source/propctrlr/stringrepresentation.cxx1
-rw-r--r--extensions/source/scanner/sanedlg.cxx1
-rw-r--r--extensions/source/scanner/scanunx.cxx1
-rw-r--r--extensions/source/update/check/updatecheck.cxx1
-rw-r--r--extensions/source/update/check/updatecheckjob.cxx1
-rw-r--r--extensions/source/update/feed/test/updatefeedtest.cxx1
19 files changed, 19 insertions, 0 deletions
diff --git a/extensions/source/abpilot/fieldmappingimpl.cxx b/extensions/source/abpilot/fieldmappingimpl.cxx
index fda8c194103c..50a1ee30b402 100644
--- a/extensions/source/abpilot/fieldmappingimpl.cxx
+++ b/extensions/source/abpilot/fieldmappingimpl.cxx
@@ -33,6 +33,7 @@
#include <componentmodule.hxx>
#include <unotools/confignode.hxx>
#include <sal/macros.h>
+#include <sal/log.hxx>
namespace abp
diff --git a/extensions/source/bibliography/formcontrolcontainer.cxx b/extensions/source/bibliography/formcontrolcontainer.cxx
index fbe31d20e318..2fc1f1e1018b 100644
--- a/extensions/source/bibliography/formcontrolcontainer.cxx
+++ b/extensions/source/bibliography/formcontrolcontainer.cxx
@@ -19,6 +19,7 @@
#include "formcontrolcontainer.hxx"
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <algorithm>
diff --git a/extensions/source/config/WinUserInfo/WinUserInfoBe.cxx b/extensions/source/config/WinUserInfo/WinUserInfoBe.cxx
index 0f39a39b9a27..5a63f7294906 100644
--- a/extensions/source/config/WinUserInfo/WinUserInfoBe.cxx
+++ b/extensions/source/config/WinUserInfo/WinUserInfoBe.cxx
@@ -19,6 +19,7 @@
#include <map>
#include <o3tl/make_unique.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
+#include <sal/log.hxx>
#include <Iads.h>
#include <Adshlp.h>
diff --git a/extensions/source/config/ldap/ldapuserprofilebe.cxx b/extensions/source/config/ldap/ldapuserprofilebe.cxx
index a1208f4bd578..cbf04fd6b027 100644
--- a/extensions/source/config/ldap/ldapuserprofilebe.cxx
+++ b/extensions/source/config/ldap/ldapuserprofilebe.cxx
@@ -25,6 +25,7 @@
#include <osl/process.h>
#include <rtl/ustrbuf.hxx>
#include <rtl/byteseq.h>
+#include <sal/log.hxx>
#include <rtl/instance.hxx>
#include <com/sun/star/beans/NamedValue.hpp>
diff --git a/extensions/source/dbpilots/listcombowizard.cxx b/extensions/source/dbpilots/listcombowizard.cxx
index c114135cfcca..44006083ee29 100644
--- a/extensions/source/dbpilots/listcombowizard.cxx
+++ b/extensions/source/dbpilots/listcombowizard.cxx
@@ -27,6 +27,7 @@
#include <tools/debug.hxx>
#include <connectivity/dbtools.hxx>
#include <helpids.h>
+#include <sal/log.hxx>
namespace dbp
diff --git a/extensions/source/logging/filehandler.cxx b/extensions/source/logging/filehandler.cxx
index 733742e0a4c6..94e5898d8b08 100644
--- a/extensions/source/logging/filehandler.cxx
+++ b/extensions/source/logging/filehandler.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include "methodguard.hxx"
#include "loghandler.hxx"
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx
index 4d6180f09797..00885662c659 100644
--- a/extensions/source/ole/oleobjw.cxx
+++ b/extensions/source/ole/oleobjw.cxx
@@ -19,6 +19,7 @@
#include "ole2uno.hxx"
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
#include <osl/diagnose.h>
diff --git a/extensions/source/ole/servprov.cxx b/extensions/source/ole/servprov.cxx
index 729f858d191a..b5ec6b886a22 100644
--- a/extensions/source/ole/servprov.cxx
+++ b/extensions/source/ole/servprov.cxx
@@ -34,6 +34,7 @@
#include <o3tl/any.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
#include <ooo/vba/XHelperInterface.hpp>
+#include <sal/log.hxx>
using namespace cppu;
using namespace osl;
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index 4165fbfbac83..f45b9b5b0000 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -56,6 +56,7 @@
#include <osl/diagnose.h>
#include <salhelper/simplereferenceobject.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/beans/MethodConcept.hpp>
#include <com/sun/star/beans/PropertyConcept.hpp>
#include <com/sun/star/lang/NoSuchMethodException.hpp>
diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx
index bb333a15454f..be7e94dbdc89 100644
--- a/extensions/source/propctrlr/browserlistbox.cxx
+++ b/extensions/source/propctrlr/browserlistbox.cxx
@@ -24,6 +24,7 @@
#include "linedescriptor.hxx"
#include "inspectorhelpwindow.hxx"
+#include <sal/log.hxx>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/inspection/PropertyControlType.hpp>
diff --git a/extensions/source/propctrlr/eformspropertyhandler.cxx b/extensions/source/propctrlr/eformspropertyhandler.cxx
index 99eb2076d118..60ae7318cf09 100644
--- a/extensions/source/propctrlr/eformspropertyhandler.cxx
+++ b/extensions/source/propctrlr/eformspropertyhandler.cxx
@@ -31,6 +31,7 @@
#include <com/sun/star/inspection/PropertyControlType.hpp>
#include <com/sun/star/inspection/XObjectInspectorUI.hpp>
#include <tools/debug.hxx>
+#include <sal/log.hxx>
#include <functional>
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx
index e26537d69dac..0db2e8be590a 100644
--- a/extensions/source/propctrlr/propcontroller.cxx
+++ b/extensions/source/propctrlr/propcontroller.cxx
@@ -53,6 +53,7 @@
#include <algorithm>
#include <functional>
#include <sal/macros.h>
+#include <sal/log.hxx>
// !!! outside the namespace !!!
diff --git a/extensions/source/propctrlr/selectlabeldialog.cxx b/extensions/source/propctrlr/selectlabeldialog.cxx
index 82262284d70e..9c4f51efdd93 100644
--- a/extensions/source/propctrlr/selectlabeldialog.cxx
+++ b/extensions/source/propctrlr/selectlabeldialog.cxx
@@ -31,6 +31,7 @@
#include <comphelper/property.hxx>
#include <comphelper/types.hxx>
#include <svtools/treelistentry.hxx>
+#include <sal/log.hxx>
namespace pcr
diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx
index 40cc301bc8ed..0a45bb54e831 100644
--- a/extensions/source/propctrlr/stringrepresentation.cxx
+++ b/extensions/source/propctrlr/stringrepresentation.cxx
@@ -37,6 +37,7 @@
#include <connectivity/dbconversion.hxx>
#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <strings.hrc>
#include <yesno.hrc>
#include "pcrservices.hxx"
diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx
index ff4e7db39e14..3df7b4b40e08 100644
--- a/extensions/source/scanner/sanedlg.cxx
+++ b/extensions/source/scanner/sanedlg.cxx
@@ -30,6 +30,7 @@
#include "grid.hxx"
#include <math.h>
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <rtl/strbuf.hxx>
#include <memory>
#include <strings.hrc>
diff --git a/extensions/source/scanner/scanunx.cxx b/extensions/source/scanner/scanunx.cxx
index 20fdb2b52e70..37b7b2999ac2 100644
--- a/extensions/source/scanner/scanunx.cxx
+++ b/extensions/source/scanner/scanunx.cxx
@@ -20,6 +20,7 @@
#include "scanner.hxx"
#include "sanedlg.hxx"
#include <osl/thread.hxx>
+#include <sal/log.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <memory>
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index ecb36ecaf28a..1120643ba3bc 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -39,6 +39,7 @@
#include <osl/module.hxx>
#include <osl/file.hxx>
#include <sal/macros.h>
+#include <sal/log.hxx>
#ifdef _WIN32
#include <objbase.h>
diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx
index b8eda1da01c6..32f3b4875423 100644
--- a/extensions/source/update/check/updatecheckjob.cxx
+++ b/extensions/source/update/check/updatecheckjob.cxx
@@ -28,6 +28,7 @@
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/XTerminateListener.hpp>
diff --git a/extensions/source/update/feed/test/updatefeedtest.cxx b/extensions/source/update/feed/test/updatefeedtest.cxx
index d3194c6a68d0..e443cd1a9473 100644
--- a/extensions/source/update/feed/test/updatefeedtest.cxx
+++ b/extensions/source/update/feed/test/updatefeedtest.cxx
@@ -28,6 +28,7 @@
#include <sal/main.h>
#include <osl/process.h>
+#include <sal/log.hxx>
#include <stdio.h>
namespace deployment = ::com::sun::star::deployment;