diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-22 09:42:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-22 09:57:47 +0200 |
commit | 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 (patch) | |
tree | 783dc367eacbe3eef9f226d0735d0137e7245648 /sax | |
parent | 9406ab47a92386d676038e467e555c3c80b46f62 (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 'sax')
-rw-r--r-- | sax/source/expatwrap/sax_expat.cxx | 1 | ||||
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 1 | ||||
-rw-r--r-- | sax/source/tools/converter.cxx | 1 | ||||
-rw-r--r-- | sax/source/tools/fastserializer.cxx | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx index aca68c02b7bc..bbf608ff6abd 100644 --- a/sax/source/expatwrap/sax_expat.cxx +++ b/sax/source/expatwrap/sax_expat.cxx @@ -37,6 +37,7 @@ #include <cppuhelper/implbase3.hxx> #include <cppuhelper/supportsservice.hxx> #include <rtl/ref.hxx> +#include <sal/log.hxx> #include <expat.h> diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 8768281ea2fe..f118a5d13e9b 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -34,6 +34,7 @@ #include <osl/diagnose.h> #include <rtl/ref.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <salhelper/thread.hxx> #include <boost/optional.hpp> diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx index e4d3c962a830..3ef609e2f288 100644 --- a/sax/source/tools/converter.cxx +++ b/sax/source/tools/converter.cxx @@ -30,6 +30,7 @@ #include <rtl/ustrbuf.hxx> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <osl/time.h> #include <osl/diagnose.h> diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx index 85c9694d3094..10e7ab39f174 100644 --- a/sax/source/tools/fastserializer.cxx +++ b/sax/source/tools/fastserializer.cxx @@ -21,6 +21,7 @@ #include <com/sun/star/xml/sax/FastTokenHandler.hpp> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/sequence.hxx> |