diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-27 09:42:16 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-01 09:49:07 +0200 |
commit | 3fb5f7181dc30425e31653e48ac1de9d4d20a3df (patch) | |
tree | f2b6ce893d65d2843a9e8d304ddc96be7a75806a /desktop/source | |
parent | d8b7ac327cfe39f46aaa871cfa7a8fdc8b2b6b54 (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 dbaccess to extensions
Change-Id: I4d15aa35e11664ef78c836ffc2937c7e0bb6ea59
Reviewed-on: https://gerrit.libreoffice.org/58165
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/app/cmdlineargs.cxx | 1 | ||||
-rw-r--r-- | desktop/source/app/opencl.cxx | 1 | ||||
-rw-r--r-- | desktop/source/app/updater.cxx | 1 | ||||
-rw-r--r-- | desktop/source/deployment/dp_log.cxx | 1 | ||||
-rw-r--r-- | desktop/source/deployment/dp_persmap.cxx | 1 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_dialog2.cxx | 1 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_theextmgr.cxx | 1 | ||||
-rw-r--r-- | desktop/source/deployment/misc/dp_update.cxx | 1 | ||||
-rw-r--r-- | desktop/source/deployment/registry/dp_registry.cxx | 1 | ||||
-rw-r--r-- | desktop/source/migration/services/basicmigration.cxx | 1 | ||||
-rw-r--r-- | desktop/source/migration/services/wordbookmigration.cxx | 1 | ||||
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx | 1 | ||||
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_misc.cxx | 1 | ||||
-rw-r--r-- | desktop/source/splash/unxsplash.cxx | 1 |
14 files changed, 14 insertions, 0 deletions
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx index e67f204866e9..bbe3bcbeb5ee 100644 --- a/desktop/source/app/cmdlineargs.cxx +++ b/desktop/source/app/cmdlineargs.cxx @@ -40,6 +40,7 @@ #include <rtl/strbuf.hxx> #include <osl/file.hxx> +#include <sal/log.hxx> using namespace com::sun::star::lang; using namespace com::sun::star::uri; diff --git a/desktop/source/app/opencl.cxx b/desktop/source/app/opencl.cxx index cb00a8720989..ed58733e8ab6 100644 --- a/desktop/source/app/opencl.cxx +++ b/desktop/source/app/opencl.cxx @@ -19,6 +19,7 @@ #include <config_folders.h> #include <rtl/bootstrap.hxx> +#include <sal/log.hxx> #include <officecfg/Office/Calc.hxx> #include <officecfg/Office/Common.hxx> diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx index e90cf3bd1991..adcc130751e7 100644 --- a/desktop/source/app/updater.cxx +++ b/desktop/source/app/updater.cxx @@ -30,6 +30,7 @@ #include <unotools/configmgr.hxx> #include <osl/file.hxx> #include <rtl/process.h> +#include <sal/log.hxx> #include <curl/curl.h> diff --git a/desktop/source/deployment/dp_log.cxx b/desktop/source/deployment/dp_log.cxx index 4f9453ff3a3b..fbf08fb0dc12 100644 --- a/desktop/source/deployment/dp_log.cxx +++ b/desktop/source/deployment/dp_log.cxx @@ -21,6 +21,7 @@ #include <dp_misc.h> #include <dp_services.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <osl/time.h> #include <osl/thread.h> #include <cppuhelper/compbase.hxx> diff --git a/desktop/source/deployment/dp_persmap.cxx b/desktop/source/deployment/dp_persmap.cxx index c06c63656e6f..63d02f51d41a 100644 --- a/desktop/source/deployment/dp_persmap.cxx +++ b/desktop/source/deployment/dp_persmap.cxx @@ -21,6 +21,7 @@ #include <dp_persmap.h> #include <rtl/byteseq.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> using namespace ::rtl; diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index 5dabafb1ba3d..6d60fdf5d36f 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -43,6 +43,7 @@ #include <vcl/builderfactory.hxx> #include <osl/mutex.hxx> +#include <sal/log.hxx> #include <svtools/extensionlistbox.hxx> #include <svtools/restartdialog.hxx> diff --git a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx index fb883e15b82e..ae743357aa7f 100644 --- a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx +++ b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx @@ -31,6 +31,7 @@ #include <com/sun/star/ucb/CommandFailedException.hpp> #include <comphelper/propertysequence.hxx> #include <cppuhelper/exc_hlp.hxx> +#include <sal/log.hxx> #include "dp_gui_dialog2.hxx" #include "dp_gui_extensioncmdqueue.hxx" diff --git a/desktop/source/deployment/misc/dp_update.cxx b/desktop/source/deployment/misc/dp_update.cxx index 05b23c9cd3f5..05f1f0e6b991 100644 --- a/desktop/source/deployment/misc/dp_update.cxx +++ b/desktop/source/deployment/misc/dp_update.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/ucb/CommandFailedException.hpp> #include <osl/diagnose.h> #include <rtl/bootstrap.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/desktop/source/deployment/registry/dp_registry.cxx b/desktop/source/deployment/registry/dp_registry.cxx index a56a59b61920..54d84f2ad106 100644 --- a/desktop/source/deployment/registry/dp_registry.cxx +++ b/desktop/source/deployment/registry/dp_registry.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <dp_shared.hxx> #include <dp_package.hxx> diff --git a/desktop/source/migration/services/basicmigration.cxx b/desktop/source/migration/services/basicmigration.cxx index a3f266d4f88b..515a847cef1b 100644 --- a/desktop/source/migration/services/basicmigration.cxx +++ b/desktop/source/migration/services/basicmigration.cxx @@ -21,6 +21,7 @@ #include <cppuhelper/supportsservice.hxx> #include <tools/urlobj.hxx> #include <unotools/bootstrap.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx index 683813a9df48..114e36e55325 100644 --- a/desktop/source/migration/services/wordbookmigration.cxx +++ b/desktop/source/migration/services/wordbookmigration.cxx @@ -22,6 +22,7 @@ #include <tools/urlobj.hxx> #include <unotools/bootstrap.hxx> #include <unotools/ucbstreamhelper.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx index 6ed4cd3cd3a7..22489894bba3 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx @@ -22,6 +22,7 @@ #include <dp_shared.hxx> #include "unopkg_shared.h" #include <osl/thread.h> +#include <sal/log.hxx> #include <unotools/resmgr.hxx> #include <cppuhelper/implbase.hxx> #include <cppuhelper/exc_hlp.hxx> diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx index b303248050f0..9fb377f2aef0 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx @@ -26,6 +26,7 @@ #include <rtl/bootstrap.hxx> #include <rtl/strbuf.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <osl/process.h> #include <osl/file.hxx> #include <osl/thread.hxx> diff --git a/desktop/source/splash/unxsplash.cxx b/desktop/source/splash/unxsplash.cxx index c735f59fa30c..88f1aef5090b 100644 --- a/desktop/source/splash/unxsplash.cxx +++ b/desktop/source/splash/unxsplash.cxx @@ -24,6 +24,7 @@ #include <cppuhelper/supportsservice.hxx> #include <rtl/ustrbuf.hxx> #include <rtl/math.hxx> +#include <sal/log.hxx> using namespace com::sun::star; |