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 /configmgr | |
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 'configmgr')
-rw-r--r-- | configmgr/source/access.cxx | 1 | ||||
-rw-r--r-- | configmgr/source/parsemanager.cxx | 1 | ||||
-rw-r--r-- | configmgr/source/winreg.cxx | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx index a97a6825e96f..41d86e78228b 100644 --- a/configmgr/source/access.cxx +++ b/configmgr/source/access.cxx @@ -80,6 +80,7 @@ #include <rtl/ustrbuf.hxx> #include <rtl/ustring.h> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <sal/types.h> #include "access.hxx" diff --git a/configmgr/source/parsemanager.cxx b/configmgr/source/parsemanager.cxx index dab0c496e7c7..48ec7379e169 100644 --- a/configmgr/source/parsemanager.cxx +++ b/configmgr/source/parsemanager.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/container/NoSuchElementException.hpp> #include <com/sun/star/uno/RuntimeException.hpp> +#include <sal/log.hxx> #include <sal/types.h> #include <xmlreader/span.hxx> #include <xmlreader/xmlreader.hxx> diff --git a/configmgr/source/winreg.cxx b/configmgr/source/winreg.cxx index 7d4e9e9c7e2f..a5723d7588ef 100644 --- a/configmgr/source/winreg.cxx +++ b/configmgr/source/winreg.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/XInterface.hpp> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <osl/file.h> #include <osl/file.hxx> #include "winreg.hxx" |