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 /unotools/source/misc | |
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 'unotools/source/misc')
-rw-r--r-- | unotools/source/misc/fontcvt.cxx | 3 | ||||
-rw-r--r-- | unotools/source/misc/mediadescriptor.cxx | 1 | ||||
-rw-r--r-- | unotools/source/misc/syslocale.cxx | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx index cdc99a87b332..e1db618d65c0 100644 --- a/unotools/source/misc/fontcvt.cxx +++ b/unotools/source/misc/fontcvt.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <sal/log.hxx> #include <unotools/fontcvt.hxx> #include <unotools/fontdefs.hxx> #include <sal/macros.h> diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx index c6aa46ef6f57..c85194b45542 100644 --- a/unotools/source/misc/mediadescriptor.cxx +++ b/unotools/source/misc/mediadescriptor.cxx @@ -18,6 +18,7 @@ */ #include <comphelper/docpasswordhelper.hxx> +#include <sal/log.hxx> #include <unotools/mediadescriptor.hxx> #include <unotools/securityoptions.hxx> #include <comphelper/namedvaluecollection.hxx> diff --git a/unotools/source/misc/syslocale.cxx b/unotools/source/misc/syslocale.cxx index 3a0c45105a17..179052045869 100644 --- a/unotools/source/misc/syslocale.cxx +++ b/unotools/source/misc/syslocale.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <sal/log.hxx> #include <unotools/syslocale.hxx> #include <unotools/syslocaleoptions.hxx> #include <comphelper/processfactory.hxx> |