diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-28 17:45:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-02 17:58:40 +0200 |
commit | 82828c6c4030ccc8b7af8ee4e7eebd9c6d32fdf9 (patch) | |
tree | b538cc5080983812b0f59fe189e8e3694b31ee8b /unoxml | |
parent | bf3420110cdd21490bc8d49a471340e747585159 (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 'unoxml')
-rw-r--r-- | unoxml/qa/unit/domtest.cxx | 1 | ||||
-rw-r--r-- | unoxml/source/dom/attr.cxx | 1 | ||||
-rw-r--r-- | unoxml/source/dom/documentbuilder.cxx | 1 | ||||
-rw-r--r-- | unoxml/source/dom/elementlist.cxx | 1 | ||||
-rw-r--r-- | unoxml/source/dom/node.cxx | 1 | ||||
-rw-r--r-- | unoxml/source/xpath/xpathapi.cxx | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/unoxml/qa/unit/domtest.cxx b/unoxml/qa/unit/domtest.cxx index 9e46e4c2cb55..15e337772314 100644 --- a/unoxml/qa/unit/domtest.cxx +++ b/unoxml/qa/unit/domtest.cxx @@ -19,6 +19,7 @@ #include <rtl/ref.hxx> #include <rtl/byteseq.hxx> +#include <sal/log.hxx> #include <osl/file.hxx> #include <osl/process.h> #include <comphelper/seqstream.hxx> diff --git a/unoxml/source/dom/attr.cxx b/unoxml/source/dom/attr.cxx index 0e5981555198..b1124549878e 100644 --- a/unoxml/source/dom/attr.cxx +++ b/unoxml/source/dom/attr.cxx @@ -24,6 +24,7 @@ #include <memory> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <com/sun/star/xml/dom/DOMException.hpp> #include <com/sun/star/xml/dom/events/XMutationEvent.hpp> diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index dd0fd4df5a9e..8e373c6576e7 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -31,6 +31,7 @@ #include <rtl/alloc.h> #include <rtl/ustrbuf.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <comphelper/processfactory.hxx> #include <cppuhelper/implbase.hxx> diff --git a/unoxml/source/dom/elementlist.cxx b/unoxml/source/dom/elementlist.cxx index 01cf55720b78..7f47c7c0856e 100644 --- a/unoxml/source/dom/elementlist.cxx +++ b/unoxml/source/dom/elementlist.cxx @@ -23,6 +23,7 @@ #include <cppuhelper/implbase.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include "element.hxx" #include "document.hxx" diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx index 0769c2e5b5ab..c77b761bbf1a 100644 --- a/unoxml/source/dom/node.cxx +++ b/unoxml/source/dom/node.cxx @@ -30,6 +30,7 @@ #include <rtl/instance.hxx> #include <osl/mutex.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <com/sun/star/xml/sax/FastToken.hpp> diff --git a/unoxml/source/xpath/xpathapi.cxx b/unoxml/source/xpath/xpathapi.cxx index 3dbaa0a2369f..f62be771f611 100644 --- a/unoxml/source/xpath/xpathapi.cxx +++ b/unoxml/source/xpath/xpathapi.cxx @@ -28,6 +28,7 @@ #include <libxml/xpathInternals.h> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include "nodelist.hxx" #include "xpathobject.hxx" |