diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-28 15:57:23 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-31 10:48:50 +0200 |
commit | a43b79f6f9d16d52cdd30b990169160573e5de17 (patch) | |
tree | ef46aa35ee2bd1878b34110ec90720bf9b9ac0ec /vcl/unx/gtk | |
parent | 7a3e7ee1c7323e6db279d006ff218e6543228f3f (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 directory vcl
Change-Id: I205fe0f4e80a66cd9c3b19f7e9716411da1d1cf5
Reviewed-on: https://gerrit.libreoffice.org/58221
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r-- | vcl/unx/gtk/a11y/atklistener.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkutil.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkwindow.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkPicker.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk/gloactiongroup.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/gtkdata.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk/gtkinst.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk/gtksalframe.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/gtk/salprn-gtk.cxx | 1 |
11 files changed, 12 insertions, 0 deletions
diff --git a/vcl/unx/gtk/a11y/atklistener.cxx b/vcl/unx/gtk/a11y/atklistener.cxx index 82f18a58a217..1c1cff15dd4b 100644 --- a/vcl/unx/gtk/a11y/atklistener.cxx +++ b/vcl/unx/gtk/a11y/atklistener.cxx @@ -36,6 +36,7 @@ #include <vcl/svapp.hxx> #include <rtl/ref.hxx> +#include <sal/log.hxx> #define DEBUG_ATK_LISTENER 0 diff --git a/vcl/unx/gtk/a11y/atkutil.cxx b/vcl/unx/gtk/a11y/atkutil.cxx index 16271c9696c5..b5748c12d1a9 100644 --- a/vcl/unx/gtk/a11y/atkutil.cxx +++ b/vcl/unx/gtk/a11y/atkutil.cxx @@ -32,6 +32,7 @@ #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <cppuhelper/implbase.hxx> #include <rtl/ref.hxx> +#include <sal/log.hxx> #include <vcl/svapp.hxx> #include <vcl/window.hxx> diff --git a/vcl/unx/gtk/a11y/atkwindow.cxx b/vcl/unx/gtk/a11y/atkwindow.cxx index 930702f92b27..31cbf83fd429 100644 --- a/vcl/unx/gtk/a11y/atkwindow.cxx +++ b/vcl/unx/gtk/a11y/atkwindow.cxx @@ -21,6 +21,7 @@ #include <vcl/svapp.hxx> #include <vcl/window.hxx> #include <vcl/popupmenuwindow.hxx> +#include <sal/log.hxx> #include "atkwindow.hxx" #include "atkwrapper.hxx" diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx index fd65f6b380d2..f3e8e1ab7f39 100644 --- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx +++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx @@ -38,6 +38,7 @@ #include <osl/diagnose.h> #include <osl/process.h> #include <rtl/process.h> +#include <sal/log.hxx> #include <com/sun/star/ui/dialogs/TemplateDescription.hpp> #include <com/sun/star/ui/dialogs/ControlActions.hpp> #include <com/sun/star/uno/Any.hxx> diff --git a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx index addd0b4dbb48..50fb9c0f4d08 100644 --- a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx +++ b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx @@ -35,6 +35,7 @@ #include <vcl/svapp.hxx> #include <unx/gtk/gtkinst.hxx> #include <gtk/fpicker/SalGtkFolderPicker.hxx> +#include <sal/log.hxx> #include <string.h> diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx index 252798960ad7..b89a9cd9b8a7 100644 --- a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx +++ b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx @@ -30,6 +30,7 @@ #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <rtl/process.h> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <vcl/svapp.hxx> #include <tools/urlobj.hxx> diff --git a/vcl/unx/gtk/gloactiongroup.cxx b/vcl/unx/gtk/gloactiongroup.cxx index fe946f08957f..0ba1112f928f 100644 --- a/vcl/unx/gtk/gloactiongroup.cxx +++ b/vcl/unx/gtk/gloactiongroup.cxx @@ -15,6 +15,8 @@ #include <unx/gtk/gtkinst.hxx> #include <unx/gtk/gtkframe.hxx> +#include <sal/log.hxx> + /* * GLOAction */ diff --git a/vcl/unx/gtk/gtkdata.cxx b/vcl/unx/gtk/gtkdata.cxx index 689fa071ce5b..7263685368ce 100644 --- a/vcl/unx/gtk/gtkdata.cxx +++ b/vcl/unx/gtk/gtkdata.cxx @@ -38,6 +38,7 @@ #include <unx/geninst.h> #include <osl/thread.h> #include <osl/process.h> +#include <sal/log.hxx> #include <unx/i18n_im.hxx> #include <unx/i18n_xkb.hxx> diff --git a/vcl/unx/gtk/gtkinst.cxx b/vcl/unx/gtk/gtkinst.cxx index 20fc1a4e6a0a..a22529d0a8a6 100644 --- a/vcl/unx/gtk/gtkinst.cxx +++ b/vcl/unx/gtk/gtkinst.cxx @@ -35,6 +35,7 @@ #include <vcl/inputtypes.hxx> #include <unx/genpspgraphics.h> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <rtl/uri.hxx> #include <vcl/settings.hxx> diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx index 16e716b16daa..b63e4ac235ad 100644 --- a/vcl/unx/gtk/gtksalframe.cxx +++ b/vcl/unx/gtk/gtksalframe.cxx @@ -34,6 +34,7 @@ #include <osl/file.hxx> #include <rtl/bootstrap.hxx> #include <rtl/process.h> +#include <sal/log.hxx> #include <vcl/floatwin.hxx> #include <vcl/svapp.hxx> #include <vcl/window.hxx> diff --git a/vcl/unx/gtk/salprn-gtk.cxx b/vcl/unx/gtk/salprn-gtk.cxx index 0eba1ccee23e..ddc9ba3ca234 100644 --- a/vcl/unx/gtk/salprn-gtk.cxx +++ b/vcl/unx/gtk/salprn-gtk.cxx @@ -37,6 +37,7 @@ #include <officecfg/Office/Common.hxx> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <unotools/streamwrap.hxx> |