summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-28 17:45:04 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-02 17:58:40 +0200
commit82828c6c4030ccc8b7af8ee4e7eebd9c6d32fdf9 (patch)
treeb538cc5080983812b0f59fe189e8e3694b31ee8b /vbahelper
parentbf3420110cdd21490bc8d49a471340e747585159 (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 'vbahelper')
-rw-r--r--vbahelper/source/msforms/service.cxx1
-rw-r--r--vbahelper/source/msforms/vbacombobox.cxx1
-rw-r--r--vbahelper/source/msforms/vbatogglebutton.cxx1
-rw-r--r--vbahelper/source/msforms/vbauserform.cxx1
-rw-r--r--vbahelper/source/vbahelper/vbacommandbar.cxx1
-rw-r--r--vbahelper/source/vbahelper/vbacommandbarcontrol.cxx1
-rw-r--r--vbahelper/source/vbahelper/vbacommandbarhelper.cxx1
-rw-r--r--vbahelper/source/vbahelper/vbadocumentbase.cxx1
-rw-r--r--vbahelper/source/vbahelper/vbaeventshelperbase.cxx1
-rw-r--r--vbahelper/source/vbahelper/vbahelper.cxx1
-rw-r--r--vbahelper/source/vbahelper/vbashape.cxx1
11 files changed, 11 insertions, 0 deletions
diff --git a/vbahelper/source/msforms/service.cxx b/vbahelper/source/msforms/service.cxx
index 50de0010a0d3..3da00781514c 100644
--- a/vbahelper/source/msforms/service.cxx
+++ b/vbahelper/source/msforms/service.cxx
@@ -18,6 +18,7 @@
*/
#include <cppuhelper/implementationentry.hxx>
#include <comphelper/servicedecl.hxx>
+#include <sal/log.hxx>
#include "service.hxx"
diff --git a/vbahelper/source/msforms/vbacombobox.cxx b/vbahelper/source/msforms/vbacombobox.cxx
index a026816e4e27..2ff9cc9d991a 100644
--- a/vbahelper/source/msforms/vbacombobox.cxx
+++ b/vbahelper/source/msforms/vbacombobox.cxx
@@ -28,6 +28,7 @@
#include <ooo/vba/msforms/fmEnterFieldBehavior.hpp>
#include <ooo/vba/msforms/fmListStyle.hpp>
#include <ooo/vba/msforms/fmTextAlign.hpp>
+#include <sal/log.hxx>
using namespace com::sun::star;
using namespace ooo::vba;
diff --git a/vbahelper/source/msforms/vbatogglebutton.cxx b/vbahelper/source/msforms/vbatogglebutton.cxx
index c603eb3dc71b..5020873994f4 100644
--- a/vbahelper/source/msforms/vbatogglebutton.cxx
+++ b/vbahelper/source/msforms/vbatogglebutton.cxx
@@ -19,6 +19,7 @@
#include "vbatogglebutton.hxx"
#include "vbanewfont.hxx"
+#include <sal/log.hxx>
using namespace com::sun::star;
using namespace ooo::vba;
diff --git a/vbahelper/source/msforms/vbauserform.cxx b/vbahelper/source/msforms/vbauserform.cxx
index da5f9a99b5c2..fbe1d942aa1a 100644
--- a/vbahelper/source/msforms/vbauserform.cxx
+++ b/vbahelper/source/msforms/vbauserform.cxx
@@ -30,6 +30,7 @@
#include <basic/sbstar.hxx>
#include <basic/sbmeth.hxx>
#include "vbacontrols.hxx"
+#include <sal/log.hxx>
using namespace ::ooo::vba;
using namespace ::com::sun::star;
diff --git a/vbahelper/source/vbahelper/vbacommandbar.cxx b/vbahelper/source/vbahelper/vbacommandbar.cxx
index 1b999557ca2e..afa1fa45c939 100644
--- a/vbahelper/source/vbahelper/vbacommandbar.cxx
+++ b/vbahelper/source/vbahelper/vbacommandbar.cxx
@@ -23,6 +23,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <ooo/vba/office/MsoBarType.hpp>
+#include <sal/log.hxx>
using namespace com::sun::star;
using namespace ooo::vba;
diff --git a/vbahelper/source/vbahelper/vbacommandbarcontrol.cxx b/vbahelper/source/vbahelper/vbacommandbarcontrol.cxx
index f69bcf822d9a..97c62907b2f4 100644
--- a/vbahelper/source/vbahelper/vbacommandbarcontrol.cxx
+++ b/vbahelper/source/vbahelper/vbacommandbarcontrol.cxx
@@ -20,6 +20,7 @@
#include "vbacommandbarcontrols.hxx"
#include <vbahelper/vbahelper.hxx>
#include <filter/msfilter/msvbahelper.hxx>
+#include <sal/log.hxx>
using namespace com::sun::star;
using namespace ooo::vba;
diff --git a/vbahelper/source/vbahelper/vbacommandbarhelper.cxx b/vbahelper/source/vbahelper/vbacommandbarhelper.cxx
index 5b344dc61225..70c5705b5b72 100644
--- a/vbahelper/source/vbahelper/vbacommandbarhelper.cxx
+++ b/vbahelper/source/vbahelper/vbacommandbarhelper.cxx
@@ -30,6 +30,7 @@
#include <comphelper/random.hxx>
#include <vbahelper/vbahelper.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <time.h>
#include <map>
diff --git a/vbahelper/source/vbahelper/vbadocumentbase.cxx b/vbahelper/source/vbahelper/vbadocumentbase.cxx
index 466ffba9ad5b..e187d3bfd603 100644
--- a/vbahelper/source/vbahelper/vbadocumentbase.cxx
+++ b/vbahelper/source/vbahelper/vbadocumentbase.cxx
@@ -38,6 +38,7 @@
#include <cppuhelper/exc_hlp.hxx>
#include <tools/urlobj.hxx>
#include <osl/file.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::ooo::vba;
diff --git a/vbahelper/source/vbahelper/vbaeventshelperbase.cxx b/vbahelper/source/vbahelper/vbaeventshelperbase.cxx
index 2c5a64aecff3..cf30602f5e3c 100644
--- a/vbahelper/source/vbahelper/vbaeventshelperbase.cxx
+++ b/vbahelper/source/vbahelper/vbaeventshelperbase.cxx
@@ -29,6 +29,7 @@
#include <filter/msfilter/msvbahelper.hxx>
#include <unotools/eventcfg.hxx>
#include <vbahelper/vbahelper.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::ooo::vba;
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx
index 187e88d5713b..8de423bf2810 100644
--- a/vbahelper/source/vbahelper/vbahelper.cxx
+++ b/vbahelper/source/vbahelper/vbahelper.cxx
@@ -63,6 +63,7 @@
#include <sfx2/viewsh.hxx>
#include <math.h>
#include <osl/file.hxx>
+#include <sal/log.hxx>
#include <toolkit/awt/vclxwindow.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <vcl/window.hxx>
diff --git a/vbahelper/source/vbahelper/vbashape.cxx b/vbahelper/source/vbahelper/vbashape.cxx
index 57b76b61d238..2991df012235 100644
--- a/vbahelper/source/vbahelper/vbashape.cxx
+++ b/vbahelper/source/vbahelper/vbashape.cxx
@@ -38,6 +38,7 @@
#include <vcl/svapp.hxx>
#include <svx/unopage.hxx>
#include <svx/unoshape.hxx>
+#include <sal/log.hxx>
#include <vbahelper/vbashape.hxx>
#include <vbahelper/vbatextframe.hxx>