diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-27 09:42:16 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-01 09:49:07 +0200 |
commit | 3fb5f7181dc30425e31653e48ac1de9d4d20a3df (patch) | |
tree | f2b6ce893d65d2843a9e8d304ddc96be7a75806a /editeng | |
parent | d8b7ac327cfe39f46aaa871cfa7a8fdc8b2b6b54 (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 dbaccess to extensions
Change-Id: I4d15aa35e11664ef78c836ffc2937c7e0bb6ea59
Reviewed-on: https://gerrit.libreoffice.org/58165
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'editeng')
26 files changed, 26 insertions, 0 deletions
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx index 145212939f2c..085f7b3062e6 100644 --- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx +++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx @@ -27,6 +27,7 @@ #include <vcl/window.hxx> #include <vcl/svapp.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <editeng/flditem.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> diff --git a/editeng/source/accessibility/AccessibleParaManager.cxx b/editeng/source/accessibility/AccessibleParaManager.cxx index 0601217bc71e..548d94b2beb2 100644 --- a/editeng/source/accessibility/AccessibleParaManager.cxx +++ b/editeng/source/accessibility/AccessibleParaManager.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Reference.hxx> #include <cppuhelper/weakref.hxx> +#include <sal/log.hxx> #include <com/sun/star/accessibility/XAccessible.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 9c70eff997ec..373ee7b5158a 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -57,6 +57,7 @@ #include "impedit.hxx" #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <svl/grabbagitem.hxx> #include <tools/stream.hxx> diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx index 5699c920878a..85bfbfb44a76 100644 --- a/editeng/source/editeng/editeng.cxx +++ b/editeng/source/editeng/editeng.cxx @@ -74,6 +74,7 @@ #include <linguistic/lngprops.hxx> #include <i18nlangtag/mslangid.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <vcl/help.hxx> #include <com/sun/star/datatransfer/clipboard/XClipboard.hpp> #include <com/sun/star/i18n/InputSequenceCheckMode.hpp> diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index aca013ad748b..8166f84c6a11 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -19,6 +19,7 @@ #include <memory> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <vcl/wrkwin.hxx> #include <vcl/dialog.hxx> #include <vcl/svapp.hxx> diff --git a/editeng/source/editeng/edtspell.cxx b/editeng/source/editeng/edtspell.cxx index 61ca57ae0d81..ed437c5df7c5 100644 --- a/editeng/source/editeng/edtspell.cxx +++ b/editeng/source/editeng/edtspell.cxx @@ -23,6 +23,7 @@ #include <vcl/svapp.hxx> #include "impedit.hxx" +#include <sal/log.hxx> #include <editeng/editview.hxx> #include <editeng/editeng.hxx> #include <edtspell.hxx> diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 99d49c1eeae4..4580a573ed19 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -23,6 +23,7 @@ #include <vcl/settings.hxx> #include "impedit.hxx" +#include <sal/log.hxx> #include <editeng/editeng.hxx> #include <editeng/editview.hxx> #include <editeng/outliner.hxx> diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index af0565f76df5..38d99f120830 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -58,6 +58,7 @@ #include <com/sun/star/i18n/InputSequenceCheckMode.hpp> +#include <sal/log.hxx> #include <sot/exchange.hxx> #include <sot/formats.hxx> #include <svl/asiancfg.hxx> diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 7cc6dfddb695..d10c8ff26feb 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -75,6 +75,7 @@ #include <comphelper/processfactory.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <comphelper/string.hxx> #include <comphelper/lok.hxx> #include <memory> diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index e619351963f9..14449b19fb5e 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -34,6 +34,7 @@ #include "eehtml.hxx" #include "editobj2.hxx" #include <i18nlangtag/lang.h> +#include <sal/log.hxx> #include <editxml.hxx> diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 8e483d66ca51..ae2c584ff83e 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -45,6 +45,7 @@ #include <unotools/configmgr.hxx> #include <libxml/xmlwriter.h> #include <editeng/unonrule.hxx> +#include <sal/log.hxx> #define DEF_WRITER_LSPACE 500 //Standard Indentation #define DEF_DRAW_LSPACE 800 //Standard Indentation diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx index 2941aabcdc09..b1c1105f58b7 100644 --- a/editeng/source/items/paraitem.cxx +++ b/editeng/source/items/paraitem.cxx @@ -43,6 +43,7 @@ #include <editeng/paravertalignitem.hxx> #include <editeng/pgrditem.hxx> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <editeng/memberids.h> #include <editeng/editids.hrc> #include <editeng/itemtype.hxx> diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index 9e20c30cc4ce..3f4807869aee 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/i18n/KCharacterType.hpp> #include <editeng/svxfont.hxx> #include <editeng/escapementitem.hxx> +#include <sal/log.hxx> SvxFont::SvxFont() { diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx index 7ef82e39ec98..36cf5ca8967e 100644 --- a/editeng/source/items/textitem.cxx +++ b/editeng/source/items/textitem.cxx @@ -25,6 +25,7 @@ #include <tools/stream.hxx> #include <math.h> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <unotools/fontdefs.hxx> #include <vcl/outdev.hxx> #include <vcl/unohelp.hxx> diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx index f5e549ff8f43..a3999205d579 100644 --- a/editeng/source/misc/hangulhanja.cxx +++ b/editeng/source/misc/hangulhanja.cxx @@ -35,6 +35,7 @@ #include <com/sun/star/i18n/WordType.hpp> #include <vcl/stdtext.hxx> #include <unotools/charclass.hxx> +#include <sal/log.hxx> #include <editeng/edtdlg.hxx> #include <editeng/unolingu.hxx> diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index cf56f2a4552f..2166d323a082 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -26,6 +26,7 @@ #include <tools/urlobj.hxx> #include <i18nlangtag/mslangid.hxx> #include <i18nutil/transliteration.hxx> +#include <sal/log.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <sot/storinfo.hxx> diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index 25e7268a93e0..4d21c60a0ab2 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -51,6 +51,7 @@ #include <editeng/editrids.hrc> #include <svtools/strings.hrc> #include <unotools/resmgr.hxx> +#include <sal/log.hxx> using namespace ::comphelper; using namespace ::linguistic; diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 2f60f3daca1d..09397d45f6b6 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -51,6 +51,7 @@ #include <editeng/brushitem.hxx> #include <svl/itempool.hxx> #include <libxml/xmlwriter.h> +#include <sal/log.hxx> // calculate if it's RTL or not #include <unicode/ubidi.h> diff --git a/editeng/source/outliner/outlobj.cxx b/editeng/source/outliner/outlobj.cxx index 8002419cc37d..181aa114709f 100644 --- a/editeng/source/outliner/outlobj.cxx +++ b/editeng/source/outliner/outlobj.cxx @@ -30,6 +30,7 @@ #include <editeng/editobj.hxx> #include <vcl/bitmap.hxx> #include <tools/stream.hxx> +#include <sal/log.hxx> #include <o3tl/cow_wrapper.hxx> #include <libxml/xmlwriter.h> diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index 82c3da7f4d96..b51cbbbbfb40 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -44,6 +44,7 @@ #include <svl/itemset.hxx> #include <svl/eitem.hxx> #include <editeng/editstat.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; diff --git a/editeng/source/outliner/overflowingtxt.cxx b/editeng/source/outliner/overflowingtxt.cxx index e5bc3097e82b..0181d93b2249 100644 --- a/editeng/source/outliner/overflowingtxt.cxx +++ b/editeng/source/outliner/overflowingtxt.cxx @@ -18,6 +18,7 @@ */ #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <editeng/overflowingtxt.hxx> #include <editeng/outliner.hxx> diff --git a/editeng/source/outliner/paralist.cxx b/editeng/source/outliner/paralist.cxx index f4c178ac0ec2..2dd6a56f8798 100644 --- a/editeng/source/outliner/paralist.cxx +++ b/editeng/source/outliner/paralist.cxx @@ -24,6 +24,7 @@ #include <editeng/numdef.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <tools/debug.hxx> #include <libxml/xmlwriter.h> diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx index 449877044175..7130793ef8b5 100644 --- a/editeng/source/rtf/rtfitem.cxx +++ b/editeng/source/rtf/rtfitem.cxx @@ -73,6 +73,7 @@ #include <svtools/rtftoken.h> #include <svl/itempool.hxx> #include <svl/itemiter.hxx> +#include <sal/log.hxx> #include <editeng/svxrtf.hxx> #include <editeng/editids.hrc> diff --git a/editeng/source/uno/unofield.cxx b/editeng/source/uno/unofield.cxx index 6cc201e93725..7dacb0625390 100644 --- a/editeng/source/uno/unofield.cxx +++ b/editeng/source/uno/unofield.cxx @@ -31,6 +31,7 @@ #include <editeng/unotext.hxx> #include <comphelper/servicehelper.hxx> #include <cppuhelper/supportsservice.hxx> +#include <sal/log.hxx> #include <editeng/unonames.hxx> diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx index c0f5b02d64cf..320ccc5a9916 100644 --- a/editeng/source/uno/unoipset.cxx +++ b/editeng/source/uno/unoipset.cxx @@ -27,6 +27,7 @@ #include <svl/itempool.hxx> #include <o3tl/any.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <algorithm> using namespace ::com::sun::star; diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx index 0f4e59ebefcb..035081d7da43 100644 --- a/editeng/source/xml/xmltxtexp.cxx +++ b/editeng/source/xml/xmltxtexp.cxx @@ -30,6 +30,7 @@ #include <com/sun/star/uno/Sequence.hxx> #include <sot/storage.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <xmloff/xmluconv.hxx> #include <xmloff/xmlnmspe.hxx> #include <xmloff/nmspmap.hxx> |