diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-28 17:45:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-02 17:58:40 +0200 |
commit | 82828c6c4030ccc8b7af8ee4e7eebd9c6d32fdf9 (patch) | |
tree | b538cc5080983812b0f59fe189e8e3694b31ee8b /toolkit | |
parent | bf3420110cdd21490bc8d49a471340e747585159 (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 test to vbahelper
Change-Id: Ia7f773511624099505d6a36a8d6e23c0cde4a737
Reviewed-on: https://gerrit.libreoffice.org/58225
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxtabpagecontainer.cxx | 1 | ||||
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 1 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 1 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 1 | ||||
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 1 | ||||
-rw-r--r-- | toolkit/source/controls/grid/defaultgridcolumnmodel.cxx | 1 | ||||
-rw-r--r-- | toolkit/source/controls/stdtabcontroller.cxx | 1 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrolmodel.cxx | 1 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrols.cxx | 1 | ||||
-rw-r--r-- | toolkit/source/helper/btndlg.cxx | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/toolkit/source/awt/vclxtabpagecontainer.cxx b/toolkit/source/awt/vclxtabpagecontainer.cxx index 24d2d309665f..391072f1cd47 100644 --- a/toolkit/source/awt/vclxtabpagecontainer.cxx +++ b/toolkit/source/awt/vclxtabpagecontainer.cxx @@ -20,6 +20,7 @@ #include <toolkit/awt/vclxtabpagecontainer.hxx> #include <com/sun/star/awt/tab/XTabPageModel.hpp> #include <com/sun/star/awt/XControl.hpp> +#include <sal/log.hxx> #include <vcl/image.hxx> #include <vcl/tabpage.hxx> #include <vcl/tabctrl.hxx> diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 57f18a22ad45..5e7c9e823c39 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -55,6 +55,7 @@ #include <osl/mutex.hxx> #include <rtl/uuid.h> #include <rtl/process.h> +#include <sal/log.hxx> #include <tools/link.hxx> #include <tools/fract.hxx> #include <tools/wintypes.hxx> diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 45c7d1dcdc62..f4d2815197ac 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -45,6 +45,7 @@ #include <cppuhelper/typeprovider.hxx> #include <rtl/uuid.h> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <vcl/svapp.hxx> #include <vcl/window.hxx> #include <tools/color.hxx> diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 8484cd5b2e10..504dfa8e8a78 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -38,6 +38,7 @@ #include <com/sun/star/awt/XItemList.hpp> #include <comphelper/namedvaluecollection.hxx> #include <comphelper/processfactory.hxx> +#include <sal/log.hxx> #include <vcl/button.hxx> #include <vcl/graph.hxx> diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index cc50dbd31858..c03a37902a39 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -54,6 +54,7 @@ #include <algorithm> #include <tools/urlobj.hxx> #include <osl/file.hxx> +#include <sal/log.hxx> #include <toolkit/controls/dialogcontrol.hxx> #include <helper/tkresmgr.hxx> diff --git a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx index f8eb9121f2a2..d6eb98d3b0bd 100644 --- a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx +++ b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx @@ -34,6 +34,7 @@ #include <cppuhelper/compbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <tools/diagnose_ex.h> #include <vector> diff --git a/toolkit/source/controls/stdtabcontroller.cxx b/toolkit/source/controls/stdtabcontroller.cxx index 0b1c48045ea9..d337b972ad53 100644 --- a/toolkit/source/controls/stdtabcontroller.cxx +++ b/toolkit/source/controls/stdtabcontroller.cxx @@ -30,6 +30,7 @@ #include <cppuhelper/queryinterface.hxx> #include <rtl/uuid.h> +#include <sal/log.hxx> #include <tools/debug.hxx> #include <vcl/svapp.hxx> #include <vcl/window.hxx> diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 2e7b75ddd0e1..69aaa59d3d19 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -33,6 +33,7 @@ #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/typeprovider.hxx> #include <rtl/uuid.h> +#include <sal/log.hxx> #include <tools/diagnose_ex.h> #include <tools/date.hxx> #include <tools/time.hxx> diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index f41ade704374..f470cae677aa 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -57,6 +57,7 @@ #include <tools/diagnose_ex.h> #include <tools/date.hxx> #include <tools/time.hxx> +#include <sal/log.hxx> #include <algorithm> diff --git a/toolkit/source/helper/btndlg.cxx b/toolkit/source/helper/btndlg.cxx index 6364dc48f888..5b7683c9da86 100644 --- a/toolkit/source/helper/btndlg.cxx +++ b/toolkit/source/helper/btndlg.cxx @@ -21,6 +21,7 @@ #include <vcl/button.hxx> #include <helper/btndlg.hxx> +#include <sal/log.hxx> struct ImplBtnDlgItem |