summaryrefslogtreecommitdiffstats
path: root/stoc
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-28 17:43:23 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-02 10:39:00 +0200
commitbd8320952522165ee7f5f6cbe2675ea674ec5749 (patch)
treec0574742c59a06239a4a8be681ddadac50531f5c /stoc
parentUpdate git submodules (diff)
downloadcore-bd8320952522165ee7f5f6cbe2675ea674ec5749.tar.gz
core-bd8320952522165ee7f5f6cbe2675ea674ec5749.zip
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 stoc to svx Change-Id: If562b1aa1d676d2c1cf513e953238abbb846c65c Reviewed-on: https://gerrit.libreoffice.org/58224 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/corereflection/crefl.cxx1
-rw-r--r--stoc/source/javavm/javavm.cxx1
-rw-r--r--stoc/source/security/access_controller.cxx1
-rw-r--r--stoc/source/security/permissions.cxx1
-rw-r--r--stoc/source/servicemanager/servicemanager.cxx1
-rw-r--r--stoc/test/javavm/testjavavm.cxx1
-rw-r--r--stoc/test/testiadapter.cxx1
-rw-r--r--stoc/test/testproxyfac.cxx1
8 files changed, 8 insertions, 0 deletions
diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx
index 6d02a8b9bf37..a306a0d441c2 100644
--- a/stoc/source/corereflection/crefl.cxx
+++ b/stoc/source/corereflection/crefl.cxx
@@ -20,6 +20,7 @@
#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/reflection/XConstantTypeDescription.hpp>
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index 053449dc8e6e..a954372b6728 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -69,6 +69,7 @@
#include <rtl/ustring.hxx>
#include <rtl/uri.hxx>
#include <sal/types.h>
+#include <sal/log.hxx>
#include <uno/current_context.hxx>
#include <uno/environment.h>
#include <jvmfwk/framework.hxx>
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx
index 0ae4c8302c9a..1f046695e953 100644
--- a/stoc/source/security/access_controller.cxx
+++ b/stoc/source/security/access_controller.cxx
@@ -26,6 +26,7 @@
#include <rtl/ref.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <uno/current_context.h>
#include <uno/lbnames.h>
diff --git a/stoc/source/security/permissions.cxx b/stoc/source/security/permissions.cxx
index f996df36bd15..7c10fc26a4b0 100644
--- a/stoc/source/security/permissions.cxx
+++ b/stoc/source/security/permissions.cxx
@@ -27,6 +27,7 @@
#include <rtl/string.hxx>
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <com/sun/star/security/RuntimePermission.hpp>
#include <com/sun/star/security/AllPermission.hpp>
diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx
index 7774bf02f5b5..b295aa6f112b 100644
--- a/stoc/source/servicemanager/servicemanager.cxx
+++ b/stoc/source/servicemanager/servicemanager.cxx
@@ -24,6 +24,7 @@
#include <osl/diagnose.h>
#include <rtl/ref.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <uno/mapping.hxx>
#include <uno/dispatcher.h>
diff --git a/stoc/test/javavm/testjavavm.cxx b/stoc/test/javavm/testjavavm.cxx
index c2c26efebb36..f89cd8cd315b 100644
--- a/stoc/test/javavm/testjavavm.cxx
+++ b/stoc/test/javavm/testjavavm.cxx
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <sal/main.h>
+#include <sal/log.hxx>
#include <rtl/process.h>
#include <cppuhelper/servicefactory.hxx>
diff --git a/stoc/test/testiadapter.cxx b/stoc/test/testiadapter.cxx
index a7c209fc39f3..89856bad42ef 100644
--- a/stoc/test/testiadapter.cxx
+++ b/stoc/test/testiadapter.cxx
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <sal/main.h>
+#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <cppuhelper/servicefactory.hxx>
diff --git a/stoc/test/testproxyfac.cxx b/stoc/test/testproxyfac.cxx
index ebc878696316..2388ac078b53 100644
--- a/stoc/test/testproxyfac.cxx
+++ b/stoc/test/testproxyfac.cxx
@@ -19,6 +19,7 @@
#include <sal/main.h>
+#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <rtl/alloc.h>
#include <uno/environment.hxx>