From efdc775d7dd464dcbd917623df94df87810d9bf3 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 28 Jul 2018 16:47:47 +0200 Subject: Add missing sal/log.hxx headers rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include (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 --- sd/source/ui/sidebar/DocumentHelper.cxx | 1 + sd/source/ui/sidebar/LayoutMenu.cxx | 1 + sd/source/ui/sidebar/MasterPageContainerProviders.cxx | 1 + sd/source/ui/sidebar/MasterPageDescriptor.cxx | 1 + 4 files changed, 4 insertions(+) (limited to 'sd/source/ui/sidebar') 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 #include #include +#include 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 #include #include +#include #include #include 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 #include #include +#include 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 #include +#include namespace sd { namespace sidebar { -- cgit