diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-28 17:23:50 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-31 16:45:58 +0200 |
commit | b5867945d67dba505d0629e5e41fdc52bc78bfee (patch) | |
tree | f4df18de3e656c3d3a39fd046ca5e724a560b02d /starmath | |
parent | 1bf7bc6f9929ceae0ea059b64ae0efa12228525f (diff) |
Add missing sal/log.hxx headers
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.
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 <vmiklos@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/accessibility.cxx | 1 | ||||
-rw-r--r-- | starmath/source/cfgitem.cxx | 1 | ||||
-rw-r--r-- | starmath/source/dialog.cxx | 1 | ||||
-rw-r--r-- | starmath/source/document.cxx | 1 | ||||
-rw-r--r-- | starmath/source/mathmlexport.cxx | 1 | ||||
-rw-r--r-- | starmath/source/mathmlimport.cxx | 1 | ||||
-rw-r--r-- | starmath/source/mathtype.cxx | 1 | ||||
-rw-r--r-- | starmath/source/node.cxx | 1 | ||||
-rw-r--r-- | starmath/source/ooxmlexport.cxx | 1 | ||||
-rw-r--r-- | starmath/source/ooxmlimport.cxx | 1 | ||||
-rw-r--r-- | starmath/source/parse.cxx | 1 | ||||
-rw-r--r-- | starmath/source/rect.cxx | 1 | ||||
-rw-r--r-- | starmath/source/rtfexport.cxx | 1 | ||||
-rw-r--r-- | starmath/source/smdetect.cxx | 1 | ||||
-rw-r--r-- | starmath/source/symbol.cxx | 1 | ||||
-rw-r--r-- | starmath/source/tmpdevice.cxx | 1 | ||||
-rw-r--r-- | starmath/source/unomodel.cxx | 1 | ||||
-rw-r--r-- | starmath/source/view.cxx | 1 | ||||
-rw-r--r-- | starmath/source/visitors.cxx | 1 | ||||
-rw-r--r-- | starmath/source/wordexportbase.cxx | 1 |
20 files changed, 20 insertions, 0 deletions
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 <sal/config.h> +#include <sal/log.hxx> #include <memory> 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 <vcl/outdev.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> +#include <sal/log.hxx> #include <officecfg/Office/Math.hxx> #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 <sal/config.h> +#include <sal/log.hxx> #include <cassert> 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 <o3tl/make_unique.hxx> #include <rtl/ustrbuf.hxx> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <unotools/eventcfg.hxx> #include <sfx2/event.hxx> #include <sfx2/app.hxx> 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 <comphelper/genericpropertyset.hxx> #include <comphelper/servicehelper.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <memory> #include <stack> 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 <comphelper/servicehelper.hxx> #include <o3tl/make_unique.hxx> #include <rtl/character.hxx> +#include <sal/log.hxx> #include <sfx2/frame.hxx> #include <sfx2/docfile.hxx> #include <sfx2/sfxsids.hrc> 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 <osl/diagnose.h> #include <sfx2/docfile.hxx> #include <sot/storage.hxx> +#include <sal/log.hxx> #include "eqnolefilehdr.hxx" #include <node.hxx> 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 <tools/fract.hxx> #include <tools/gen.hxx> #include <vcl/outdev.hxx> +#include <sal/log.hxx> #include <cassert> #include <math.h> 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 <oox/token/tokens.hxx> #include <rtl/ustring.hxx> +#include <sal/log.hxx> 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 <oox/token/namespaces.hxx> #include <rtl/ustring.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> 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 <unotools/configmgr.hxx> #include <unotools/syslocale.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> #include <parse.hxx> #include <strings.hrc> #include <smmod.hxx> 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 <osl/diagnose.h> #include <vcl/svapp.hxx> #include <vcl/virdev.hxx> +#include <sal/log.hxx> #include <rect.hxx> #include <types.hxx> 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 <svtools/rtfkeywd.hxx> #include <filter/msfilter/rtfutil.hxx> +#include <sal/log.hxx> 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 <com/sun/star/io/XInputStream.hpp> #include <sfx2/docfile.hxx> #include <unotools/mediadescriptor.hxx> +#include <sal/log.hxx> #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 <utility.hxx> #include "cfgitem.hxx" #include <smmod.hxx> +#include <sal/log.hxx> 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 <vcl/window.hxx> +#include <sal/log.hxx> // 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 <sal/config.h> +#include <sal/log.hxx> #include <utility> 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 <vcl/decoview.hxx> #include <vcl/menu.hxx> #include <vcl/settings.hxx> +#include <sal/log.hxx> #include <unotools/streamwrap.hxx> 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 <sal/log.hxx> #include <tools/gen.hxx> #include <vcl/lineinfo.hxx> #include <visitors.hxx> 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 <node.hxx> +#include <sal/log.hxx> SmWordExportBase::SmWordExportBase(const SmNode* pIn) : m_pTree(pIn) |