diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-31 19:58:50 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-03 09:43:04 +0200 |
commit | 4760bc9916cb726321bf4506bb48a26cfb239753 (patch) | |
tree | 2048928f9bc83e25bab028abbfb24d04c6d60bea /sw/source/core/unocore | |
parent | 28fa64612a3b4b9496da68ba83b54bbd80b75eaa (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 directory sw
Change-Id: I1ede3f86e390bfec1a2d3ee8e8bb6ec67083b194
Reviewed-on: https://gerrit.libreoffice.org/58372
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/core/unocore')
-rw-r--r-- | sw/source/core/unocore/unocoll.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unocrsrhelper.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unodraw.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unoflatpara.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unoframe.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unoportenum.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unoredline.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unorefmk.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unosett.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unotbl.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/unocore/unotext.cxx | 1 |
12 files changed, 12 insertions, 0 deletions
diff --git a/sw/source/core/unocore/unocoll.cxx b/sw/source/core/unocore/unocoll.cxx index 3138a9be4577..ca2024f61ed4 100644 --- a/sw/source/core/unocore/unocoll.cxx +++ b/sw/source/core/unocore/unocoll.cxx @@ -82,6 +82,7 @@ #include <comphelper/processfactory.hxx> #include <cppuhelper/implbase.hxx> #include <sfx2/event.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::document; diff --git a/sw/source/core/unocore/unocrsrhelper.cxx b/sw/source/core/unocore/unocrsrhelper.cxx index ad54ef7383e1..4bd17b5c681f 100644 --- a/sw/source/core/unocore/unocrsrhelper.cxx +++ b/sw/source/core/unocore/unocrsrhelper.cxx @@ -87,6 +87,7 @@ #include <fmtmeta.hxx> #include <txtfld.hxx> #include <unoparagraph.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index 3919fc2af1ef..dd395d9ac00b 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -19,6 +19,7 @@ #include <memory> #include <sal/config.h> +#include <sal/log.hxx> #include <cmdid.h> diff --git a/sw/source/core/unocore/unoflatpara.cxx b/sw/source/core/unocore/unoflatpara.cxx index a39cf00dee4c..fe9a20658b7b 100644 --- a/sw/source/core/unocore/unoflatpara.cxx +++ b/sw/source/core/unocore/unoflatpara.cxx @@ -48,6 +48,7 @@ #include <comphelper/servicehelper.hxx> #include <comphelper/propertysetinfo.hxx> #include <comphelper/sequence.hxx> +#include <sal/log.hxx> #include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/text/XTextRange.hpp> diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index c3d409e02fec..bf25aeb4d4f7 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -125,6 +125,7 @@ #include <calbck.hxx> #include <comphelper/servicehelper.hxx> #include <cppuhelper/supportsservice.hxx> +#include <sal/log.hxx> #include <svx/unobrushitemhelper.hxx> #include <svx/xbtmpit.hxx> diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx index 99cca1905f61..b60f7f297e6a 100644 --- a/sw/source/core/unocore/unoportenum.cxx +++ b/sw/source/core/unocore/unoportenum.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <utility> diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx index 541fa5eea8eb..281a010690a4 100644 --- a/sw/source/core/unocore/unoredline.cxx +++ b/sw/source/core/unocore/unoredline.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <utility> diff --git a/sw/source/core/unocore/unorefmk.cxx b/sw/source/core/unocore/unorefmk.cxx index 41793c482bbe..87bd776c433b 100644 --- a/sw/source/core/unocore/unorefmk.cxx +++ b/sw/source/core/unocore/unorefmk.cxx @@ -30,6 +30,7 @@ #include <sal/config.h> #include <svl/listener.hxx> #include <vcl/svapp.hxx> +#include <sal/log.hxx> #include <unomid.h> #include <unotextrange.hxx> diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx index e27cc31c0780..ca01c7e9de37 100644 --- a/sw/source/core/unocore/unosett.cxx +++ b/sw/source/core/unocore/unosett.cxx @@ -75,6 +75,7 @@ #include <svl/itemprop.hxx> #include <svl/listener.hxx> #include <paratr.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 769de1c04af6..e85e44f0214e 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -81,6 +81,7 @@ #include <cppuhelper/supportsservice.hxx> #include <comphelper/sequence.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> #include <svl/stylepool.hxx> #include <svx/unobrushitemhelper.hxx> diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index e12c40acf458..37fe6c7b19d8 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -100,6 +100,7 @@ #include <unochart.hxx> #include <sortopt.hxx> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <editeng/frmdiritem.hxx> #include <calbck.hxx> #include <comphelper/interfacecontainer2.hxx> diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index 5fd149373e0a..bedc64cbf56d 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -37,6 +37,7 @@ #include <comphelper/servicehelper.hxx> #include <cppuhelper/exc_hlp.hxx> #include <cppuhelper/supportsservice.hxx> +#include <sal/log.hxx> #include <cmdid.h> #include <unotextbodyhf.hxx> |