summaryrefslogtreecommitdiff
path: root/sw
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 /sw
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 'sw')
-rw-r--r--sw/inc/PostItMgr.hxx1
-rw-r--r--sw/inc/authfld.hxx1
-rw-r--r--sw/inc/tox.hxx1
-rw-r--r--sw/inc/unobaseclass.hxx1
-rw-r--r--sw/source/core/text/inftxt.hxx1
5 files changed, 5 insertions, 0 deletions
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx
index f880d609b34a..345151076569 100644
--- a/sw/inc/PostItMgr.hxx
+++ b/sw/inc/PostItMgr.hxx
@@ -24,6 +24,7 @@
#include <vector>
#include <editeng/outlobj.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <tools/link.hxx>
#include <swrect.hxx>
#include <unotools/configitem.hxx>
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx
index 6e3926b72b73..11ce33e0c581 100644
--- a/sw/inc/authfld.hxx
+++ b/sw/inc/authfld.hxx
@@ -24,6 +24,7 @@
#include <toxe.hxx>
#include <vector>
#include <boost/ptr_container/ptr_vector.hpp>
+#include <sal/log.hxx>
class SwAuthEntry
{
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx
index 50c1c32144c7..6e394742b0bb 100644
--- a/sw/inc/tox.hxx
+++ b/sw/inc/tox.hxx
@@ -20,6 +20,7 @@
#define INCLUDED_SW_INC_TOX_HXX
#include <cppuhelper/weakref.hxx>
+#include <sal/log.hxx>
#include <i18nlangtag/lang.h>
#include <svl/poolitem.hxx>
diff --git a/sw/inc/unobaseclass.hxx b/sw/inc/unobaseclass.hxx
index 8db9f332fb50..a4f8abdad413 100644
--- a/sw/inc/unobaseclass.hxx
+++ b/sw/inc/unobaseclass.hxx
@@ -24,6 +24,7 @@
#include <com/sun/star/container/XEnumeration.hpp>
#include <cppuhelper/implbase.hxx>
+#include <sal/log.hxx>
class SfxPoolItem;
class SwClient;
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index 45680164e43a..c9dabd6825b1 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -31,6 +31,7 @@
#include "txtfrm.hxx"
#include "ndtxt.hxx"
#include <editeng/paravertalignitem.hxx>
+#include <sal/log.hxx>
namespace vcl { class Font; }
class OutputDevice;