summaryrefslogtreecommitdiff
path: root/cppuhelper
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 /cppuhelper
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 'cppuhelper')
-rw-r--r--cppuhelper/source/component_context.cxx1
-rw-r--r--cppuhelper/source/implbase_ex.cxx1
-rw-r--r--cppuhelper/source/propshlp.cxx1
-rw-r--r--cppuhelper/source/shlib.cxx1
-rw-r--r--cppuhelper/source/typemanager.cxx1
5 files changed, 5 insertions, 0 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index f44bac2ee2ce..7451daf4cf56 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -35,6 +35,7 @@
#include <osl/mutex.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/log.hxx>
#include <uno/lbnames.h>
#include <uno/mapping.hxx>
diff --git a/cppuhelper/source/implbase_ex.cxx b/cppuhelper/source/implbase_ex.cxx
index 4d9e04f01788..ca5e1736f73b 100644
--- a/cppuhelper/source/implbase_ex.cxx
+++ b/cppuhelper/source/implbase_ex.cxx
@@ -24,6 +24,7 @@
#include <rtl/byteseq.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/uuid.h>
+#include <sal/log.hxx>
#include <cppuhelper/compbase_ex.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index 42fdfcae17a5..bdeb5f2a28e9 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -27,6 +27,7 @@
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <boost/scoped_array.hpp>
+#include <sal/log.hxx>
using namespace osl;
using namespace com::sun::star::uno;
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index 8868d591ee91..dc0c214baedc 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -27,6 +27,7 @@
#include <cppuhelper/factory.hxx>
#include <cppuhelper/shlib.hxx>
#include <osl/module.hxx>
+#include <sal/log.hxx>
#include <uno/environment.hxx>
#include <uno/mapping.hxx>
diff --git a/cppuhelper/source/typemanager.cxx b/cppuhelper/source/typemanager.cxx
index 84c749b1b658..2e32c5b33764 100644
--- a/cppuhelper/source/typemanager.cxx
+++ b/cppuhelper/source/typemanager.cxx
@@ -52,6 +52,7 @@
#include <rtl/ref.hxx>
#include <rtl/string.h>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <sal/macros.h>
#include <sal/types.h>