summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-27 17:57:59 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-07-30 09:28:40 +0200
commitbdb0775a262cb66e8924303c98bf5180a7fb02ee (patch)
tree0e0d35a99ffad8d4f6f9ffe89a7bb7b1d02739fb /forms
parent9cceba9a928cf3b3447f293020be2fe76c035ed5 (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 filter to jvmfwk Change-Id: I2a73d63f2aaef5f26d7d08957daaa8a30b412ac5 Reviewed-on: https://gerrit.libreoffice.org/58204 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/Edit.cxx1
-rw-r--r--forms/source/component/FormComponent.cxx1
-rw-r--r--forms/source/component/FormsCollection.cxx1
-rw-r--r--forms/source/component/ListBox.cxx1
-rw-r--r--forms/source/component/errorbroadcaster.cxx1
-rw-r--r--forms/source/component/formcontrolfont.cxx1
-rw-r--r--forms/source/misc/InterfaceContainer.cxx1
-rw-r--r--forms/source/richtext/attributedispatcher.cxx1
-rw-r--r--forms/source/richtext/richtextcontrol.cxx1
-rw-r--r--forms/source/richtext/richtextimplcontrol.cxx1
-rw-r--r--forms/source/runtime/formoperations.cxx1
-rw-r--r--forms/source/xforms/datatypes.cxx1
-rw-r--r--forms/source/xforms/submission/replace.cxx1
13 files changed, 13 insertions, 0 deletions
diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx
index 0627d60059e2..b7cc5dc73f8e 100644
--- a/forms/source/component/Edit.cxx
+++ b/forms/source/component/Edit.cxx
@@ -38,6 +38,7 @@
#include <comphelper/property.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
using namespace dbtools;
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx
index b9d9317985ba..7d4078a83fb5 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -50,6 +50,7 @@
#include <toolkit/helper/emptyfontdescriptor.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <functional>
#include <algorithm>
diff --git a/forms/source/component/FormsCollection.cxx b/forms/source/component/FormsCollection.cxx
index 0f6aa34f7d4f..841bc493e8a7 100644
--- a/forms/source/component/FormsCollection.cxx
+++ b/forms/source/component/FormsCollection.cxx
@@ -21,6 +21,7 @@
#include <services.hxx>
#include <comphelper/sequence.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/form/XForm.hpp>
using namespace frm;
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 869c0e9e04ab..3a55e313dcf1 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -48,6 +48,7 @@
#include <o3tl/any.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <unotools/sharedunocomponent.hxx>
#include <vcl/svapp.hxx>
diff --git a/forms/source/component/errorbroadcaster.cxx b/forms/source/component/errorbroadcaster.cxx
index fe1121c660c5..1d36b519a5ff 100644
--- a/forms/source/component/errorbroadcaster.cxx
+++ b/forms/source/component/errorbroadcaster.cxx
@@ -20,6 +20,7 @@
#include "errorbroadcaster.hxx"
#include <connectivity/dbtools.hxx>
#include <com/sun/star/sdb/SQLContext.hpp>
+#include <sal/log.hxx>
namespace frm
diff --git a/forms/source/component/formcontrolfont.cxx b/forms/source/component/formcontrolfont.cxx
index 974f3984b202..c00ecad5b0f7 100644
--- a/forms/source/component/formcontrolfont.cxx
+++ b/forms/source/component/formcontrolfont.cxx
@@ -24,6 +24,7 @@
#include <comphelper/property.hxx>
#include <comphelper/types.hxx>
#include <tools/color.hxx>
+#include <sal/log.hxx>
#include <toolkit/helper/emptyfontdescriptor.hxx>
#include <com/sun/star/awt/FontRelief.hpp>
#include <com/sun/star/awt/FontEmphasisMark.hpp>
diff --git a/forms/source/misc/InterfaceContainer.cxx b/forms/source/misc/InterfaceContainer.cxx
index 266b5de5d5b6..faa4aec158f4 100644
--- a/forms/source/misc/InterfaceContainer.cxx
+++ b/forms/source/misc/InterfaceContainer.cxx
@@ -44,6 +44,7 @@
#include <cppuhelper/queryinterface.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <algorithm>
#include <memory>
diff --git a/forms/source/richtext/attributedispatcher.cxx b/forms/source/richtext/attributedispatcher.cxx
index 7a01b3de6407..309bc6b8d8fc 100644
--- a/forms/source/richtext/attributedispatcher.cxx
+++ b/forms/source/richtext/attributedispatcher.cxx
@@ -20,6 +20,7 @@
#include "attributedispatcher.hxx"
#include <editeng/editview.hxx>
+#include <sal/log.hxx>
namespace frm
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx
index b88e4fa94fcb..7962c7b9bf5d 100644
--- a/forms/source/richtext/richtextcontrol.cxx
+++ b/forms/source/richtext/richtextcontrol.cxx
@@ -30,6 +30,7 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <vcl/svapp.hxx>
#include <svx/svxids.hrc>
diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx
index 52c0a0b6b707..0fc975a278cc 100644
--- a/forms/source/richtext/richtextimplcontrol.cxx
+++ b/forms/source/richtext/richtextimplcontrol.cxx
@@ -20,6 +20,7 @@
#include "richtextimplcontrol.hxx"
#include "textattributelistener.hxx"
#include "richtextengine.hxx"
+#include <sal/log.hxx>
#include <editeng/editeng.hxx>
#include <editeng/editview.hxx>
#include <editeng/eeitem.hxx>
diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx
index 525aa803f83f..76e3ec2a9647 100644
--- a/forms/source/runtime/formoperations.cxx
+++ b/forms/source/runtime/formoperations.cxx
@@ -61,6 +61,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <osl/mutex.hxx>
#include <sal/macros.h>
+#include <sal/log.hxx>
namespace frm
diff --git a/forms/source/xforms/datatypes.cxx b/forms/source/xforms/datatypes.cxx
index c0b1a978a3e9..55ceeac78f14 100644
--- a/forms/source/xforms/datatypes.cxx
+++ b/forms/source/xforms/datatypes.cxx
@@ -27,6 +27,7 @@
#include <com/sun/star/xsd/WhiteSpaceTreatment.hpp>
#include <tools/datetime.hxx>
#include <rtl/math.hxx>
+#include <sal/log.hxx>
namespace xforms
diff --git a/forms/source/xforms/submission/replace.cxx b/forms/source/xforms/submission/replace.cxx
index 8804c3c92b4b..4d3cb04888a8 100644
--- a/forms/source/xforms/submission/replace.cxx
+++ b/forms/source/xforms/submission/replace.cxx
@@ -24,6 +24,7 @@
#include <osl/diagnose.h>
#include <rtl/ustring.hxx>
#include <rtl/string.hxx>
+#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
#include <com/sun/star/uno/Reference.hxx>