summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-28 17:45:04 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-02 17:58:40 +0200
commit82828c6c4030ccc8b7af8ee4e7eebd9c6d32fdf9 (patch)
treeb538cc5080983812b0f59fe189e8e3694b31ee8b /unotools
parentbf3420110cdd21490bc8d49a471340e747585159 (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 test to vbahelper Change-Id: Ia7f773511624099505d6a36a8d6e23c0cde4a737 Reviewed-on: https://gerrit.libreoffice.org/58225 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/compatibility.cxx1
-rw-r--r--unotools/source/config/configmgr.cxx1
-rw-r--r--unotools/source/config/confignode.cxx1
-rw-r--r--unotools/source/config/eventcfg.cxx1
-rw-r--r--unotools/source/config/fontcfg.cxx1
-rw-r--r--unotools/source/config/itemholder1.cxx1
-rw-r--r--unotools/source/config/viewoptions.cxx1
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx1
8 files changed, 8 insertions, 0 deletions
diff --git a/unotools/source/config/compatibility.cxx b/unotools/source/config/compatibility.cxx
index b552dc7de5bd..ba5df9a01113 100644
--- a/unotools/source/config/compatibility.cxx
+++ b/unotools/source/config/compatibility.cxx
@@ -22,6 +22,7 @@
#include <unotools/configitem.hxx>
#include <unotools/syslocale.hxx>
#include <tools/debug.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx
index 1f83a94830d2..664282e289d9 100644
--- a/unotools/source/config/configmgr.cxx
+++ b/unotools/source/config/configmgr.cxx
@@ -32,6 +32,7 @@
#include <rtl/instance.hxx>
#include <rtl/ustring.h>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <unotools/configitem.hxx>
#include <unotools/configmgr.hxx>
#include <comphelper/processfactory.hxx>
diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx
index ef5d5f99066a..66d44cdc8301 100644
--- a/unotools/source/config/confignode.cxx
+++ b/unotools/source/config/confignode.cxx
@@ -21,6 +21,7 @@
#include <unotools/configpaths.hxx>
#include <tools/diagnose_ex.h>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <com/sun/star/container/XHierarchicalName.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx
index 8451b3a93501..93c74e23f7c4 100644
--- a/unotools/source/config/eventcfg.cxx
+++ b/unotools/source/config/eventcfg.cxx
@@ -29,6 +29,7 @@
#include <o3tl/enumrange.hxx>
#include <rtl/ref.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include "itemholder1.hxx"
diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx
index be09dc493eec..9dae8a8c79f1 100644
--- a/unotools/source/config/fontcfg.cxx
+++ b/unotools/source/config/fontcfg.cxx
@@ -34,6 +34,7 @@
#include <rtl/instance.hxx>
#include <osl/diagnose.h>
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <string.h>
#include <list>
diff --git a/unotools/source/config/itemholder1.cxx b/unotools/source/config/itemholder1.cxx
index 91a44af5d715..784f2ba7b760 100644
--- a/unotools/source/config/itemholder1.cxx
+++ b/unotools/source/config/itemholder1.cxx
@@ -44,6 +44,7 @@
#include <unotools/viewoptions.hxx>
#include <unotools/options.hxx>
#include <unotools/syslocaleoptions.hxx>
+#include <sal/log.hxx>
ItemHolder1::ItemHolder1()
: ItemHolderMutexBase()
diff --git a/unotools/source/config/viewoptions.cxx b/unotools/source/config/viewoptions.cxx
index 2bef4bb8463c..edc7f6c15e21 100644
--- a/unotools/source/config/viewoptions.cxx
+++ b/unotools/source/config/viewoptions.cxx
@@ -26,6 +26,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <unotools/configpaths.hxx>
#include <comphelper/configurationhelper.hxx>
#include <comphelper/processfactory.hxx>
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index 868100fe3cc3..aa1357aeacec 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -20,6 +20,7 @@
#include "ucblockbytes.hxx"
#include <sal/macros.h>
+#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
#include <salhelper/condition.hxx>
#include <osl/thread.hxx>