diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-28 16:47:47 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-30 17:28:49 +0200 |
commit | efdc775d7dd464dcbd917623df94df87810d9bf3 (patch) | |
tree | 74429bd55327dce26e4c6b1cb7553827f0dd384e /sd/source/ui/sidebar | |
parent | 05ae22e9f99ae6236a77a3fbfb5ac1e3f95df619 (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 scripting, sd, sdext
Change-Id: I47889cd889cf1d68353184229bfd4712f1528fbf
Reviewed-on: https://gerrit.libreoffice.org/58220
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/sidebar')
-rw-r--r-- | sd/source/ui/sidebar/DocumentHelper.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/sidebar/LayoutMenu.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/sidebar/MasterPageContainerProviders.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/sidebar/MasterPageDescriptor.cxx | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/sidebar/DocumentHelper.cxx b/sd/source/ui/sidebar/DocumentHelper.cxx index 15930344209e..cf3f432da77d 100644 --- a/sd/source/ui/sidebar/DocumentHelper.cxx +++ b/sd/source/ui/sidebar/DocumentHelper.cxx @@ -37,6 +37,7 @@ #include <svx/svdundo.hxx> #include <tools/diagnose_ex.h> #include <xmloff/autolayout.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; diff --git a/sd/source/ui/sidebar/LayoutMenu.cxx b/sd/source/ui/sidebar/LayoutMenu.cxx index 36dd97722232..8c9642c65435 100644 --- a/sd/source/ui/sidebar/LayoutMenu.cxx +++ b/sd/source/ui/sidebar/LayoutMenu.cxx @@ -38,6 +38,7 @@ #include <SlideSorterViewShell.hxx> #include <ViewShellBase.hxx> #include <sfx2/sidebar/Theme.hxx> +#include <sal/log.hxx> #include <comphelper/processfactory.hxx> #include <sfx2/app.hxx> diff --git a/sd/source/ui/sidebar/MasterPageContainerProviders.cxx b/sd/source/ui/sidebar/MasterPageContainerProviders.cxx index a58edf36cae5..a87665fb5c41 100644 --- a/sd/source/ui/sidebar/MasterPageContainerProviders.cxx +++ b/sd/source/ui/sidebar/MasterPageContainerProviders.cxx @@ -30,6 +30,7 @@ #include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/embed/StorageFactory.hpp> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sd/source/ui/sidebar/MasterPageDescriptor.cxx b/sd/source/ui/sidebar/MasterPageDescriptor.cxx index 87a27d597870..168288094687 100644 --- a/sd/source/ui/sidebar/MasterPageDescriptor.cxx +++ b/sd/source/ui/sidebar/MasterPageDescriptor.cxx @@ -23,6 +23,7 @@ #include "DocumentHelper.hxx" #include <sdpage.hxx> #include <tools/urlobj.hxx> +#include <sal/log.hxx> namespace sd { namespace sidebar { |