From 0132f27d4e062b9306e4fb90c38a58afffbe6cf0 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Wed, 11 Jul 2018 08:00:51 +0200 Subject: Add missing sal/log.hxx headers rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include (and don't make use of it themselves), but many other files happen to depend on it. This is a continuation of commit 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 to be able to remove those unneeded includes. This commit adds missing headers to every file found by: grep -FwL sal/log.hxx $(git grep -Elw 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF|SAL_DETAIL_LOG_STREAM|SAL_WHERE|SAL_STREAM|SAL_DEBUG') to directories w* x* Change-Id: I27bff44da3d34d24262031c7489e755311599bc5 Reviewed-on: https://gerrit.libreoffice.org/57307 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- writerperfect/source/calc/MSWorksCalcImportFilter.cxx | 1 + writerperfect/source/common/WPXSvInputStream.cxx | 1 + writerperfect/source/writer/EBookImportFilter.cxx | 1 + writerperfect/source/writer/EPUBPackage.cxx | 1 + writerperfect/source/writer/MSWorksImportFilter.cxx | 1 + writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx | 2 ++ writerperfect/source/writer/exp/XMLTextFrameContext.cxx | 2 ++ writerperfect/source/writer/exp/txtparai.cxx | 2 ++ writerperfect/source/writer/exp/xmlfmt.cxx | 2 ++ writerperfect/source/writer/exp/xmltbli.cxx | 2 ++ 10 files changed, 15 insertions(+) (limited to 'writerperfect') diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx index ee5cc3096d79..cda4256a5ca6 100644 --- a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx +++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx index 1c06f1b784bd..f4d4a5593229 100644 --- a/writerperfect/source/common/WPXSvInputStream.cxx +++ b/writerperfect/source/common/WPXSvInputStream.cxx @@ -15,6 +15,7 @@ #include #include +#include #include diff --git a/writerperfect/source/writer/EBookImportFilter.cxx b/writerperfect/source/writer/EBookImportFilter.cxx index b60efff74123..4c80c6cf075e 100644 --- a/writerperfect/source/writer/EBookImportFilter.cxx +++ b/writerperfect/source/writer/EBookImportFilter.cxx @@ -10,6 +10,7 @@ */ #include +#include #include diff --git a/writerperfect/source/writer/EPUBPackage.cxx b/writerperfect/source/writer/EPUBPackage.cxx index 96a0bb714789..e13f2b3eb71b 100644 --- a/writerperfect/source/writer/EPUBPackage.cxx +++ b/writerperfect/source/writer/EPUBPackage.cxx @@ -16,6 +16,7 @@ #include #include +#include #include #include #include diff --git a/writerperfect/source/writer/MSWorksImportFilter.cxx b/writerperfect/source/writer/MSWorksImportFilter.cxx index 1b082c806a9b..b67a6e14f4ac 100644 --- a/writerperfect/source/writer/MSWorksImportFilter.cxx +++ b/writerperfect/source/writer/MSWorksImportFilter.cxx @@ -10,6 +10,7 @@ */ #include +#include #include diff --git a/writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx b/writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx index e23f60932773..5f1b53c804a8 100644 --- a/writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx +++ b/writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx @@ -12,6 +12,8 @@ #include "xmlimp.hxx" #include "xmltext.hxx" +#include + using namespace com::sun::star; namespace writerperfect diff --git a/writerperfect/source/writer/exp/XMLTextFrameContext.cxx b/writerperfect/source/writer/exp/XMLTextFrameContext.cxx index 37848e668593..cb7d3f9a8340 100644 --- a/writerperfect/source/writer/exp/XMLTextFrameContext.cxx +++ b/writerperfect/source/writer/exp/XMLTextFrameContext.cxx @@ -14,6 +14,8 @@ #include "xmlimp.hxx" #include "xmltext.hxx" +#include + using namespace com::sun::star; namespace writerperfect diff --git a/writerperfect/source/writer/exp/txtparai.cxx b/writerperfect/source/writer/exp/txtparai.cxx index 3a5d6bf44d46..b947b87813e0 100644 --- a/writerperfect/source/writer/exp/txtparai.cxx +++ b/writerperfect/source/writer/exp/txtparai.cxx @@ -13,6 +13,8 @@ #include "XMLTextFrameContext.hxx" #include "xmlimp.hxx" +#include + using namespace com::sun::star; namespace diff --git a/writerperfect/source/writer/exp/xmlfmt.cxx b/writerperfect/source/writer/exp/xmlfmt.cxx index fca68bf7900d..349bd71af60e 100644 --- a/writerperfect/source/writer/exp/xmlfmt.cxx +++ b/writerperfect/source/writer/exp/xmlfmt.cxx @@ -13,6 +13,8 @@ #include "txtstyli.hxx" #include "xmlimp.hxx" +#include + using namespace com::sun::star; namespace writerperfect diff --git a/writerperfect/source/writer/exp/xmltbli.cxx b/writerperfect/source/writer/exp/xmltbli.cxx index b5c16388b750..bc029faf369a 100644 --- a/writerperfect/source/writer/exp/xmltbli.cxx +++ b/writerperfect/source/writer/exp/xmltbli.cxx @@ -13,6 +13,8 @@ #include "xmlimp.hxx" #include "xmltext.hxx" +#include + using namespace com::sun::star; namespace writerperfect -- cgit