summaryrefslogtreecommitdiff
path: root/sfx2
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 /sfx2
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 'sfx2')
-rw-r--r--sfx2/source/inc/sfxtypes.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/inc/sfxtypes.hxx b/sfx2/source/inc/sfxtypes.hxx
index 3eaafa447788..258f82920a9d 100644
--- a/sfx2/source/inc/sfxtypes.hxx
+++ b/sfx2/source/inc/sfxtypes.hxx
@@ -19,6 +19,9 @@
#ifndef INCLUDED_SFX2_SOURCE_INC_SFXTYPES_HXX
#define INCLUDED_SFX2_SOURCE_INC_SFXTYPES_HXX
+#include <sal/config.h>
+
+#include <sal/log.hxx>
#include <tools/rc.hxx>
#include <tools/rcid.h>
#include <tools/resid.hxx>