summaryrefslogtreecommitdiff
path: root/package/source/xstor
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-27 22:33:55 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-07-30 16:26:31 +0200
commitc6e5d55171b295149a5e93fa8ee23c9c9908c6dd (patch)
treef8b2be3f9b44495514cfb96671a0108541d21ee4 /package/source/xstor
parent5ea91ed27342766f2b6103ddb64f07e35af54e50 (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 l10ntools to reportdesign Change-Id: Ia2dc93dd848c2dc0b6a8cb6e19849c614ec55198 Reviewed-on: https://gerrit.libreoffice.org/58205 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'package/source/xstor')
-rw-r--r--package/source/xstor/ocompinstream.cxx1
-rw-r--r--package/source/xstor/oseekinstream.cxx1
-rw-r--r--package/source/xstor/owriteablestream.cxx1
-rw-r--r--package/source/xstor/xfactory.cxx1
-rw-r--r--package/source/xstor/xstorage.cxx1
5 files changed, 5 insertions, 0 deletions
diff --git a/package/source/xstor/ocompinstream.cxx b/package/source/xstor/ocompinstream.cxx
index dd564271ecd8..efa4122e2cd1 100644
--- a/package/source/xstor/ocompinstream.cxx
+++ b/package/source/xstor/ocompinstream.cxx
@@ -23,6 +23,7 @@
#include <com/sun/star/lang/DisposedException.hpp>
#include <cppuhelper/queryinterface.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include "owriteablestream.hxx"
#include "xstorage.hxx"
diff --git a/package/source/xstor/oseekinstream.cxx b/package/source/xstor/oseekinstream.cxx
index 2e8527b5fbdf..34d6a5d8f480 100644
--- a/package/source/xstor/oseekinstream.cxx
+++ b/package/source/xstor/oseekinstream.cxx
@@ -21,6 +21,7 @@
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include "oseekinstream.hxx"
#include "owriteablestream.hxx"
diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx
index 2f49e497dd47..beb71e11d3ec 100644
--- a/package/source/xstor/owriteablestream.cxx
+++ b/package/source/xstor/owriteablestream.cxx
@@ -19,6 +19,7 @@
#include <memory>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <com/sun/star/packages/WrongPasswordException.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
diff --git a/package/source/xstor/xfactory.cxx b/package/source/xstor/xfactory.cxx
index 1feb44a84e21..8aeb7979749d 100644
--- a/package/source/xstor/xfactory.cxx
+++ b/package/source/xstor/xfactory.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/ucb/SimpleFileAccess.hpp>
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index ca646e10f41b..41bb3ffa8802 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -19,6 +19,7 @@
#include <memory>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <cassert>