summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-28 17:43:23 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-02 10:39:00 +0200
commitbd8320952522165ee7f5f6cbe2675ea674ec5749 (patch)
treec0574742c59a06239a4a8be681ddadac50531f5c /svl
parent1e9f594f7eb4a813c3a566114198632352a163d8 (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 stoc to svx Change-Id: If562b1aa1d676d2c1cf513e953238abbb846c65c Reviewed-on: https://gerrit.libreoffice.org/58224 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/config/itemholder2.cxx1
-rw-r--r--svl/source/crypto/cryptosign.cxx1
-rw-r--r--svl/source/items/cenumitm.cxx1
-rw-r--r--svl/source/items/cintitem.cxx1
-rw-r--r--svl/source/items/flagitem.cxx1
-rw-r--r--svl/source/misc/urihelper.cxx1
-rw-r--r--svl/source/notify/lstner.cxx1
7 files changed, 7 insertions, 0 deletions
diff --git a/svl/source/config/itemholder2.cxx b/svl/source/config/itemholder2.cxx
index 3226f79e610f..08240e83ae03 100644
--- a/svl/source/config/itemholder2.cxx
+++ b/svl/source/config/itemholder2.cxx
@@ -21,6 +21,7 @@
#include "itemholder2.hxx"
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx
index f2566137a10a..a9258a5c607c 100644
--- a/svl/source/crypto/cryptosign.cxx
+++ b/svl/source/crypto/cryptosign.cxx
@@ -12,6 +12,7 @@
#include <rtl/character.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/string.hxx>
+#include <sal/log.hxx>
#include <tools/datetime.hxx>
#include <tools/stream.hxx>
#include <comphelper/base64.hxx>
diff --git a/svl/source/items/cenumitm.cxx b/svl/source/items/cenumitm.cxx
index ae56eee86c81..5eee4494a988 100644
--- a/svl/source/items/cenumitm.cxx
+++ b/svl/source/items/cenumitm.cxx
@@ -24,6 +24,7 @@
#include <comphelper/extract.hxx>
#include <libxml/xmlwriter.h>
+#include <sal/log.hxx>
// virtual
diff --git a/svl/source/items/cintitem.cxx b/svl/source/items/cintitem.cxx
index 7254d0be75d6..4fc6c754c8ef 100644
--- a/svl/source/items/cintitem.cxx
+++ b/svl/source/items/cintitem.cxx
@@ -20,6 +20,7 @@
#include <com/sun/star/uno/Any.hxx>
#include <tools/stream.hxx>
#include <svl/cintitem.hxx>
+#include <sal/log.hxx>
// virtual
diff --git a/svl/source/items/flagitem.cxx b/svl/source/items/flagitem.cxx
index 6c4f41abb586..9bd233c0e91f 100644
--- a/svl/source/items/flagitem.cxx
+++ b/svl/source/items/flagitem.cxx
@@ -21,6 +21,7 @@
#include <svl/flagitem.hxx>
#include <svl/poolitem.hxx>
#include <tools/stream.hxx>
+#include <sal/log.hxx>
SfxFlagItem::SfxFlagItem( sal_uInt16 nW, sal_uInt16 nV ) :
diff --git a/svl/source/misc/urihelper.cxx b/svl/source/misc/urihelper.cxx
index 8c059fc15a80..f757b2524947 100644
--- a/svl/source/misc/urihelper.cxx
+++ b/svl/source/misc/urihelper.cxx
@@ -47,6 +47,7 @@
#include <rtl/ustring.h>
#include <rtl/ustring.hxx>
#include <sal/types.h>
+#include <sal/log.hxx>
#include <tools/inetmime.hxx>
#include <unotools/charclass.hxx>
diff --git a/svl/source/notify/lstner.cxx b/svl/source/notify/lstner.cxx
index 5be1e2bdffdf..6960b12bc1d8 100644
--- a/svl/source/notify/lstner.cxx
+++ b/svl/source/notify/lstner.cxx
@@ -22,6 +22,7 @@
#include <svl/hint.hxx>
#include <svl/SfxBroadcaster.hxx>
#include <sal/backtrace.hxx>
+#include <sal/log.hxx>
#include <algorithm>
#include <cassert>