diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-27 22:33:55 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-30 16:26:31 +0200 |
commit | c6e5d55171b295149a5e93fa8ee23c9c9908c6dd (patch) | |
tree | f8b2be3f9b44495514cfb96671a0108541d21ee4 /linguistic/source | |
parent | 5ea91ed27342766f2b6103ddb64f07e35af54e50 (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 l10ntools to reportdesign
Change-Id: Ia2dc93dd848c2dc0b6a8cb6e19849c614ec55198
Reviewed-on: https://gerrit.libreoffice.org/58205
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'linguistic/source')
-rw-r--r-- | linguistic/source/convdic.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/convdiclist.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/dicimp.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/dlistimp.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/gciterator.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/hyphdsp.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/lngprophelp.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/misc.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/spelldsp.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/thesdsp.cxx | 1 |
11 files changed, 11 insertions, 0 deletions
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx index 755ffb72c060..c29afc0e25b1 100644 --- a/linguistic/source/convdic.cxx +++ b/linguistic/source/convdic.cxx @@ -21,6 +21,7 @@ #include <cppuhelper/factory.hxx> #include <i18nlangtag/lang.h> #include <osl/mutex.hxx> +#include <sal/log.hxx> #include <tools/debug.hxx> #include <tools/stream.hxx> #include <tools/urlobj.hxx> diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx index 26c9fca36f92..5e7ab7abb35d 100644 --- a/linguistic/source/convdiclist.cxx +++ b/linguistic/source/convdiclist.cxx @@ -33,6 +33,7 @@ #include <comphelper/processfactory.hxx> #include <comphelper/sequence.hxx> #include <cppuhelper/supportsservice.hxx> +#include <sal/log.hxx> #include <rtl/instance.hxx> #include <tools/stream.hxx> #include <tools/urlobj.hxx> diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index ddc5074f62c7..8c4fe534d1be 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -24,6 +24,7 @@ #include <i18nlangtag/lang.h> #include <i18nlangtag/languagetag.hxx> #include <osl/mutex.hxx> +#include <sal/log.hxx> #include <tools/debug.hxx> #include <tools/stream.hxx> #include <tools/urlobj.hxx> diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx index e1b92d4a41a1..4db66d632b22 100644 --- a/linguistic/source/dlistimp.cxx +++ b/linguistic/source/dlistimp.cxx @@ -39,6 +39,7 @@ #include <com/sun/star/ucb/SimpleFileAccess.hpp> #include <svtools/strings.hrc> #include <unotools/resmgr.hxx> +#include <sal/log.hxx> #include "defs.hxx" #include "dlistimp.hxx" diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx index d124ab1865aa..be3fa38243a3 100644 --- a/linguistic/source/gciterator.cxx +++ b/linguistic/source/gciterator.cxx @@ -46,6 +46,7 @@ #include <com/sun/star/lang/XSingleComponentFactory.hpp> #include <sal/config.h> +#include <sal/log.hxx> #include <osl/conditn.hxx> #include <osl/thread.hxx> #include <cppuhelper/implementationentry.hxx> diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx index 425d29124500..e7d35007cfaf 100644 --- a/linguistic/source/hyphdsp.cxx +++ b/linguistic/source/hyphdsp.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <algorithm> diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx index 475b9c505525..fd633f4671f5 100644 --- a/linguistic/source/lngprophelp.cxx +++ b/linguistic/source/lngprophelp.cxx @@ -20,6 +20,7 @@ #include <tools/debug.hxx> #include <sal/macros.h> +#include <sal/log.hxx> #include <com/sun/star/linguistic2/LinguServiceEvent.hpp> #include <com/sun/star/linguistic2/LinguServiceEventFlags.hpp> diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 8c8aba8fdca6..e50d607caa4d 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/deployment/ExtensionManager.hpp> diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx index 6582c91db586..e21de4970bec 100644 --- a/linguistic/source/misc.cxx +++ b/linguistic/source/misc.cxx @@ -19,6 +19,7 @@ #include <memory> #include <sal/macros.h> +#include <sal/log.hxx> #include <unotools/pathoptions.hxx> #include <svl/lngmisc.hxx> #include <ucbhelper/content.hxx> diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index b3a795f7f75c..104dce04bff6 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -32,6 +32,7 @@ #include <tools/debug.hxx> #include <svl/lngmisc.hxx> #include <osl/mutex.hxx> +#include <sal/log.hxx> #include <vector> diff --git a/linguistic/source/thesdsp.cxx b/linguistic/source/thesdsp.cxx index 9b34cf300204..0e35a0ba5b80 100644 --- a/linguistic/source/thesdsp.cxx +++ b/linguistic/source/thesdsp.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <comphelper/processfactory.hxx> #include <osl/mutex.hxx> +#include <sal/log.hxx> #include "thesdsp.hxx" #include <linguistic/lngprops.hxx> |