summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-22 09:42:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-22 09:57:47 +0200
commit6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 (patch)
tree783dc367eacbe3eef9f226d0735d0137e7245648 /ucbhelper
parent9406ab47a92386d676038e467e555c3c80b46f62 (diff)
Various #include <sal/log.hxx> fixups
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. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/client/content.cxx1
-rw-r--r--ucbhelper/source/provider/fd_inputstream.cxx1
-rw-r--r--ucbhelper/source/provider/std_inputstream.cxx4
-rw-r--r--ucbhelper/source/provider/std_outputstream.cxx4
4 files changed, 10 insertions, 0 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index c9887dd771ae..f0f0572dc6ea 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -23,6 +23,7 @@
#include <osl/diagnose.h>
#include <osl/mutex.hxx>
+#include <sal/log.hxx>
#include <salhelper/simplereferenceobject.hxx>
#include <cppuhelper/weak.hxx>
diff --git a/ucbhelper/source/provider/fd_inputstream.cxx b/ucbhelper/source/provider/fd_inputstream.cxx
index d469fb75d584..26efac00832f 100644
--- a/ucbhelper/source/provider/fd_inputstream.cxx
+++ b/ucbhelper/source/provider/fd_inputstream.cxx
@@ -21,6 +21,7 @@
#include <rtl/alloc.h>
#include <osl/diagnose.h>
+#include <sal/log.hxx>
#include <algorithm>
using namespace com::sun::star::uno;
diff --git a/ucbhelper/source/provider/std_inputstream.cxx b/ucbhelper/source/provider/std_inputstream.cxx
index 172e284a99fd..513b9db9f53b 100644
--- a/ucbhelper/source/provider/std_inputstream.cxx
+++ b/ucbhelper/source/provider/std_inputstream.cxx
@@ -7,6 +7,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include <sal/config.h>
+
+#include <sal/log.hxx>
+
#include "ucbhelper/std_inputstream.hxx"
using namespace std;
diff --git a/ucbhelper/source/provider/std_outputstream.cxx b/ucbhelper/source/provider/std_outputstream.cxx
index 2f6ca9968eba..390ddbe4b408 100644
--- a/ucbhelper/source/provider/std_outputstream.cxx
+++ b/ucbhelper/source/provider/std_outputstream.cxx
@@ -7,6 +7,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include <sal/config.h>
+
+#include <sal/log.hxx>
+
#include "ucbhelper/std_outputstream.hxx"
using namespace std;