From b5867945d67dba505d0629e5e41fdc52bc78bfee Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 28 Jul 2018 17:23:50 +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 from sfx2 to starmath Change-Id: I40ee7bfae6efdadd862319b7b693ad22c648e1c4 Reviewed-on: https://gerrit.libreoffice.org/58222 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- starmath/source/accessibility.cxx | 1 + starmath/source/cfgitem.cxx | 1 + starmath/source/dialog.cxx | 1 + starmath/source/document.cxx | 1 + starmath/source/mathmlexport.cxx | 1 + starmath/source/mathmlimport.cxx | 1 + starmath/source/mathtype.cxx | 1 + starmath/source/node.cxx | 1 + starmath/source/ooxmlexport.cxx | 1 + starmath/source/ooxmlimport.cxx | 1 + starmath/source/parse.cxx | 1 + starmath/source/rect.cxx | 1 + starmath/source/rtfexport.cxx | 1 + starmath/source/smdetect.cxx | 1 + starmath/source/symbol.cxx | 1 + starmath/source/tmpdevice.cxx | 1 + starmath/source/unomodel.cxx | 1 + starmath/source/view.cxx | 1 + starmath/source/visitors.cxx | 1 + starmath/source/wordexportbase.cxx | 1 + 20 files changed, 20 insertions(+) (limited to 'starmath') diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index b55b264182a4..6477e6095357 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -18,6 +18,7 @@ */ #include +#include #include diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx index 950c6ca23ce9..29688315f17e 100644 --- a/starmath/source/cfgitem.cxx +++ b/starmath/source/cfgitem.cxx @@ -29,6 +29,7 @@ #include #include #include +#include #include #include "cfgitem.hxx" diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 1dabf0abd0b3..27860ce1ec65 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -18,6 +18,7 @@ */ #include +#include #include diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index 5e8504a52db6..7a443b998014 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx index 14964b100260..1ba6adce7c30 100644 --- a/starmath/source/mathmlexport.cxx +++ b/starmath/source/mathmlexport.cxx @@ -49,6 +49,7 @@ #include #include #include +#include #include #include diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index dae1fc20ed30..eff9032df3e7 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -40,6 +40,7 @@ one go*/ #include #include #include +#include #include #include #include diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index af59301b8f80..14f6ce75e016 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -23,6 +23,7 @@ #include #include #include +#include #include "eqnolefilehdr.hxx" #include diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 226e813d0120..c9672e22e942 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -32,6 +32,7 @@ #include #include #include +#include #include #include diff --git a/starmath/source/ooxmlexport.cxx b/starmath/source/ooxmlexport.cxx index 74f5ef77c45f..b73068ee8ccf 100644 --- a/starmath/source/ooxmlexport.cxx +++ b/starmath/source/ooxmlexport.cxx @@ -12,6 +12,7 @@ #include #include +#include using namespace oox; using namespace oox::core; diff --git a/starmath/source/ooxmlimport.cxx b/starmath/source/ooxmlimport.cxx index 6cfefc210569..7efa01d6740e 100644 --- a/starmath/source/ooxmlimport.cxx +++ b/starmath/source/ooxmlimport.cxx @@ -16,6 +16,7 @@ #include #include #include +#include using namespace oox::formulaimport; diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 232a5273f3bc..051c62d5de8d 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/starmath/source/rect.cxx b/starmath/source/rect.cxx index 1ec45fbeb10d..c59e43dd7c45 100644 --- a/starmath/source/rect.cxx +++ b/starmath/source/rect.cxx @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/starmath/source/rtfexport.cxx b/starmath/source/rtfexport.cxx index 9835ffbf9f4a..2ffbd1a83b13 100644 --- a/starmath/source/rtfexport.cxx +++ b/starmath/source/rtfexport.cxx @@ -12,6 +12,7 @@ #include #include +#include SmRtfExport::SmRtfExport(const SmNode* pIn) : SmWordExportBase(pIn) diff --git a/starmath/source/smdetect.cxx b/starmath/source/smdetect.cxx index c3e903575111..532cca0d574d 100644 --- a/starmath/source/smdetect.cxx +++ b/starmath/source/smdetect.cxx @@ -22,6 +22,7 @@ #include #include #include +#include #include "eqnolefilehdr.hxx" diff --git a/starmath/source/symbol.cxx b/starmath/source/symbol.cxx index d989595cc14e..a618d2882b77 100644 --- a/starmath/source/symbol.cxx +++ b/starmath/source/symbol.cxx @@ -23,6 +23,7 @@ #include #include "cfgitem.hxx" #include +#include SmSym::SmSym() : diff --git a/starmath/source/tmpdevice.cxx b/starmath/source/tmpdevice.cxx index 231204ea4631..cdfaf41337ba 100644 --- a/starmath/source/tmpdevice.cxx +++ b/starmath/source/tmpdevice.cxx @@ -21,6 +21,7 @@ #include "tmpdevice.hxx" #include +#include // SmTmpDevice // Allows for font and color changes. The original settings will be restored diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 1c66e2b44825..e58f9d80b04d 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -18,6 +18,7 @@ */ #include +#include #include diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index a95376d75864..6270bca09777 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -53,6 +53,7 @@ #include #include #include +#include #include diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx index fdb1e2103de8..3d7d7c7545bc 100644 --- a/starmath/source/visitors.cxx +++ b/starmath/source/visitors.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include #include #include #include diff --git a/starmath/source/wordexportbase.cxx b/starmath/source/wordexportbase.cxx index 02929e438514..2529bc997cd7 100644 --- a/starmath/source/wordexportbase.cxx +++ b/starmath/source/wordexportbase.cxx @@ -9,6 +9,7 @@ #include "wordexportbase.hxx" #include +#include SmWordExportBase::SmWordExportBase(const SmNode* pIn) : m_pTree(pIn) -- cgit