diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-31 19:58:50 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-08-03 09:43:04 +0200 |
commit | 4760bc9916cb726321bf4506bb48a26cfb239753 (patch) | |
tree | 2048928f9bc83e25bab028abbfb24d04c6d60bea /sw/source/core | |
parent | 28fa64612a3b4b9496da68ba83b54bbd80b75eaa (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 directory sw
Change-Id: I1ede3f86e390bfec1a2d3ee8e8bb6ec67083b194
Reviewed-on: https://gerrit.libreoffice.org/58372
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/core')
76 files changed, 76 insertions, 0 deletions
diff --git a/sw/source/core/access/acccell.cxx b/sw/source/core/access/acccell.cxx index 773c65443508..2f47fd40d32c 100644 --- a/sw/source/core/access/acccell.cxx +++ b/sw/source/core/access/acccell.cxx @@ -18,6 +18,7 @@ */ #include <osl/mutex.hxx> +#include <sal/log.hxx> #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/accessibility/AccessibleEventId.hpp> diff --git a/sw/source/core/access/acccontext.cxx b/sw/source/core/access/acccontext.cxx index bdcf2f33e6f5..57847272b505 100644 --- a/sw/source/core/access/acccontext.cxx +++ b/sw/source/core/access/acccontext.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/accessibility/AccessibleEventId.hpp> #include <osl/mutex.hxx> +#include <sal/log.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <unotools/accessiblestatesethelper.hxx> diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index 875ea4f21d5b..f9db5a32527a 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -19,6 +19,7 @@ #include <rtl/ref.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <cppuhelper/weakref.hxx> #include <vcl/window.hxx> #include <svx/svdmodel.hxx> diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index f6ccef2903ee..68e9d7502722 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -32,6 +32,7 @@ #include <vcl/svapp.hxx> #include <vcl/window.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/accessibility/AccessibleTextType.hpp> diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx index f203335bd71b..3b3e7df0949d 100644 --- a/sw/source/core/access/acctable.cxx +++ b/sw/source/core/access/acctable.cxx @@ -18,6 +18,7 @@ */ #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <algorithm> #include <list> diff --git a/sw/source/core/access/acctextframe.cxx b/sw/source/core/access/acctextframe.cxx index 5cff95b717e6..422e95b2be5b 100644 --- a/sw/source/core/access/acctextframe.cxx +++ b/sw/source/core/access/acctextframe.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/accessibility/XAccessibleContext.hpp> #include <cppuhelper/supportsservice.hxx> #include <vcl/svapp.hxx> +#include <sal/log.hxx> #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/accessibility/AccessibleRelation.hpp> #include <com/sun/star/accessibility/AccessibleRelationType.hpp> diff --git a/sw/source/core/attr/calbck.cxx b/sw/source/core/attr/calbck.cxx index b6f00ca93d4a..1590123c58fa 100644 --- a/sw/source/core/attr/calbck.cxx +++ b/sw/source/core/attr/calbck.cxx @@ -23,6 +23,7 @@ #include <swcache.hxx> #include <swfntcch.hxx> #include <tools/debug.hxx> +#include <sal/log.hxx> #include <algorithm> namespace sw diff --git a/sw/source/core/attr/format.cxx b/sw/source/core/attr/format.cxx index 33024bb11e89..15de4023eaca 100644 --- a/sw/source/core/attr/format.cxx +++ b/sw/source/core/attr/format.cxx @@ -33,6 +33,7 @@ #include <svx/sdr/attribute/sdrallfillattributeshelper.hxx> #include <svx/unobrushitemhelper.hxx> #include <svx/xdef.hxx> +#include <sal/log.hxx> using namespace com::sun::star; diff --git a/sw/source/core/bastyp/swcache.cxx b/sw/source/core/bastyp/swcache.cxx index 2019d7d0b3b5..065a79c54fb4 100644 --- a/sw/source/core/bastyp/swcache.cxx +++ b/sw/source/core/bastyp/swcache.cxx @@ -22,6 +22,7 @@ #include <o3tl/safeint.hxx> #include <rtl/strbuf.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <limits.h> diff --git a/sw/source/core/crsr/bookmrk.cxx b/sw/source/core/crsr/bookmrk.cxx index 05b999ac8e20..616270305c58 100644 --- a/sw/source/core/crsr/bookmrk.cxx +++ b/sw/source/core/crsr/bookmrk.cxx @@ -36,6 +36,7 @@ #include <libxml/xmlwriter.h> #include <comphelper/random.hxx> #include <comphelper/anytostring.hxx> +#include <sal/log.hxx> using namespace ::sw::mark; using namespace ::com::sun::star; diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index 9ad23eb7a3ca..70d2819b3952 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -66,6 +66,7 @@ #include <comphelper/lok.hxx> #include <sfx2/lokhelper.hxx> #include <editeng/editview.hxx> +#include <sal/log.hxx> #include <PostItMgr.hxx> #include <DocumentSettingManager.hxx> #include <vcl/uitest/logger.hxx> diff --git a/sw/source/core/doc/CntntIdxStore.cxx b/sw/source/core/doc/CntntIdxStore.cxx index 548800a3fc59..68a8c29ea888 100644 --- a/sw/source/core/doc/CntntIdxStore.cxx +++ b/sw/source/core/doc/CntntIdxStore.cxx @@ -35,6 +35,7 @@ #include <redline.hxx> #include <rtl/ustrbuf.hxx> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <sal/types.h> #include <unocrsr.hxx> #include <edimp.hxx> diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx index 256fce7bbe4d..788cb61dd7df 100644 --- a/sw/source/core/doc/DocumentContentOperationsManager.cxx +++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx @@ -66,6 +66,7 @@ #include <crsrsh.hxx> #include <fmtflcnt.hxx> #include <docedt.hxx> +#include <sal/log.hxx> #include <unotools/charclass.hxx> #include <unotools/configmgr.hxx> #include <sfx2/Metadatable.hxx> diff --git a/sw/source/core/doc/DocumentDeviceManager.cxx b/sw/source/core/doc/DocumentDeviceManager.cxx index 52b1c9aa7a39..af478731a553 100644 --- a/sw/source/core/doc/DocumentDeviceManager.cxx +++ b/sw/source/core/doc/DocumentDeviceManager.cxx @@ -37,6 +37,7 @@ #include <vcl/mapmod.hxx> #include <svl/itemset.hxx> #include <svx/svdmodel.hxx> +#include <sal/log.hxx> #include <cmdid.h> #include <drawdoc.hxx> #include <wdocsh.hxx> diff --git a/sw/source/core/doc/DocumentDrawModelManager.cxx b/sw/source/core/doc/DocumentDrawModelManager.cxx index f0b9a42e57d7..3dd25de33693 100644 --- a/sw/source/core/doc/DocumentDrawModelManager.cxx +++ b/sw/source/core/doc/DocumentDrawModelManager.cxx @@ -46,6 +46,7 @@ #include <svl/srchitem.hxx> #include <tools/link.hxx> #include <unotools/configmgr.hxx> +#include <sal/log.hxx> class SdrOutliner; diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx index 3b7a3a169c6b..a47b75629940 100644 --- a/sw/source/core/doc/DocumentRedlineManager.cxx +++ b/sw/source/core/doc/DocumentRedlineManager.cxx @@ -31,6 +31,7 @@ #include <editsh.hxx> #include <vcl/svapp.hxx> #include <vcl/weld.hxx> +#include <sal/log.hxx> using namespace com::sun::star; diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx index f5740dc12bee..d2cbedbada6d 100644 --- a/sw/source/core/doc/DocumentStylePoolManager.cxx +++ b/sw/source/core/doc/DocumentStylePoolManager.cxx @@ -61,6 +61,7 @@ #include <editeng/scriptspaceitem.hxx> #include <svx/strings.hrc> #include <svx/dialmgr.hxx> +#include <sal/log.hxx> #include <strings.hrc> #include <frmatr.hxx> #include <com/sun/star/table/BorderLineStyle.hpp> diff --git a/sw/source/core/doc/docbasic.cxx b/sw/source/core/doc/docbasic.cxx index 09fc7b9b2117..8eef3570d749 100644 --- a/sw/source/core/doc/docbasic.cxx +++ b/sw/source/core/doc/docbasic.cxx @@ -20,6 +20,7 @@ #include <hintids.hxx> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <svtools/imap.hxx> #include <svtools/imapobj.hxx> #include <basic/sbx.hxx> diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index 65ae2df1c182..c4fcbf6087ff 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -45,6 +45,7 @@ #include <rtl/ustrbuf.hxx> #include <rtl/ustring.hxx> #include <sal/types.h> +#include <sal/log.hxx> #include <sortedobjs.hxx> #include <sfx2/linkmgr.hxx> #include <swserv.hxx> diff --git a/sw/source/core/doc/docdesc.cxx b/sw/source/core/doc/docdesc.cxx index f2ec8c3e17d9..983ac37e83b4 100644 --- a/sw/source/core/doc/docdesc.cxx +++ b/sw/source/core/doc/docdesc.cxx @@ -27,6 +27,7 @@ #include <sfx2/dispatch.hxx> #include <sfx2/printer.hxx> #include <tools/globname.hxx> +#include <sal/log.hxx> #include <fmtfsize.hxx> #include <fmthdft.hxx> #include <fmtcntnt.hxx> diff --git a/sw/source/core/doc/docdraw.cxx b/sw/source/core/doc/docdraw.cxx index a2b251843439..b41c2ca7a973 100644 --- a/sw/source/core/doc/docdraw.cxx +++ b/sw/source/core/doc/docdraw.cxx @@ -30,6 +30,7 @@ #include <editeng/unolingu.hxx> #include <editeng/measfld.hxx> #include <svx/svdpool.hxx> +#include <sal/log.hxx> #include <fmtanchr.hxx> #include <charatr.hxx> #include <frmfmt.hxx> diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx index 2a41f7bbb7b8..6eba1a85d01f 100644 --- a/sw/source/core/doc/docfmt.cxx +++ b/sw/source/core/doc/docfmt.cxx @@ -33,6 +33,7 @@ #include <comphelper/processfactory.hxx> #include <unotools/configmgr.hxx> #include <unotools/misccfg.hxx> +#include <sal/log.hxx> #include <com/sun/star/i18n/WordType.hpp> #include <com/sun/star/i18n/XBreakIterator.hpp> #include <fmtpdsc.hxx> diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx index eca99322d09a..7a42082b81b6 100644 --- a/sw/source/core/doc/docnew.cxx +++ b/sw/source/core/doc/docnew.cxx @@ -33,6 +33,7 @@ #include <sfx2/docfile.hxx> #include <sfx2/frame.hxx> #include <sfx2/viewfrm.hxx> +#include <sal/log.hxx> #include <svl/macitem.hxx> #include <svx/svxids.hrc> diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx index 1e31e7150324..0947b6a0cbfd 100644 --- a/sw/source/core/doc/docredln.cxx +++ b/sw/source/core/doc/docredln.cxx @@ -20,6 +20,7 @@ #include <libxml/xmlwriter.h> #include <boost/property_tree/json_parser.hpp> +#include <sal/log.hxx> #include <tools/datetimeutils.hxx> #include <hintids.hxx> #include <svl/itemiter.hxx> diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx index 9b84c72100f2..03e64caca488 100644 --- a/sw/source/core/doc/htmltbl.cxx +++ b/sw/source/core/doc/htmltbl.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <algorithm> #include <memory> diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx index 6617c061a67b..5d30ed5e1809 100644 --- a/sw/source/core/doc/tblafmt.cxx +++ b/sw/source/core/doc/tblafmt.cxx @@ -42,6 +42,7 @@ #include <editsh.hxx> #include <fmtlsplt.hxx> #include <fmtrowsplt.hxx> +#include <sal/log.hxx> #include <memory> #include <vector> diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx index a958a9e80d1e..c84131f5f3a1 100644 --- a/sw/source/core/doc/textboxhelper.cxx +++ b/sw/source/core/doc/textboxhelper.cxx @@ -34,6 +34,7 @@ #include <svx/svdpage.hxx> #include <svl/itemiter.hxx> #include <comphelper/sequenceashashmap.hxx> +#include <sal/log.hxx> #include <com/sun/star/document/XActionLockable.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx index 1bb8146b9f47..5e671ec72366 100644 --- a/sw/source/core/docnode/ndsect.cxx +++ b/sw/source/core/docnode/ndsect.cxx @@ -20,6 +20,7 @@ #include <hintids.hxx> #include <sfx2/linkmgr.hxx> #include <svl/itemiter.hxx> +#include <sal/log.hxx> #include <fmtcntnt.hxx> #include <fmtanchr.hxx> #include <txtftn.hxx> diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx index 936db89cd7e9..15a04fd1c8d6 100644 --- a/sw/source/core/docnode/ndtbl.cxx +++ b/sw/source/core/docnode/ndtbl.cxx @@ -94,6 +94,7 @@ #include <calbck.hxx> #include <o3tl/numeric.hxx> #include <tools/datetimeutils.hxx> +#include <sal/log.hxx> #ifdef DBG_UTIL #define CHECK_TABLE(t) (t).CheckConsistency(); diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx index 96c0787ae835..efe04fe60bc1 100644 --- a/sw/source/core/draw/dcontact.cxx +++ b/sw/source/core/draw/dcontact.cxx @@ -72,6 +72,7 @@ #include <algorithm> #include <txtfly.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; diff --git a/sw/source/core/edit/edundo.cxx b/sw/source/core/edit/edundo.cxx index 05f6f45c177c..2dc552cbf129 100644 --- a/sw/source/core/edit/edundo.cxx +++ b/sw/source/core/edit/edundo.cxx @@ -18,6 +18,7 @@ */ #include <svx/svdview.hxx> +#include <sal/log.hxx> #include <editsh.hxx> #include <fesh.hxx> diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx index 1f122224b490..620bd06cf732 100644 --- a/sw/source/core/layout/atrfrm.cxx +++ b/sw/source/core/layout/atrfrm.cxx @@ -21,6 +21,7 @@ #include <com/sun/star/text/TextContentAnchorType.hpp> #include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/text/TextGridMode.hpp> +#include <sal/log.hxx> #include <o3tl/any.hxx> #include <o3tl/safeint.hxx> #include <svtools/unoimap.hxx> diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx index c2109fa38044..0b76176ff7aa 100644 --- a/sw/source/core/layout/dbg_lay.cxx +++ b/sw/source/core/layout/dbg_lay.cxx @@ -107,6 +107,7 @@ #include <layfrm.hxx> #include <frame.hxx> #include <swtable.hxx> +#include <sal/log.hxx> PROT SwProtocol::nRecord = PROT::FileInit; SwImplProtocol* SwProtocol::pImpl = nullptr; diff --git a/sw/source/core/layout/findfrm.cxx b/sw/source/core/layout/findfrm.cxx index b720d9936a45..e4d94e45b1b6 100644 --- a/sw/source/core/layout/findfrm.cxx +++ b/sw/source/core/layout/findfrm.cxx @@ -33,6 +33,7 @@ #include <txtfrm.hxx> #include <calbck.hxx> #include <viewopt.hxx> +#include <sal/log.hxx> /// Searches the first ContentFrame in BodyText below the page. SwLayoutFrame *SwFootnoteBossFrame::FindBodyCont() diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx index 46af46fbe942..d53622754d69 100644 --- a/sw/source/core/layout/flowfrm.cxx +++ b/sw/source/core/layout/flowfrm.cxx @@ -19,6 +19,7 @@ #include <memory> #include <sal/config.h> +#include <sal/log.hxx> #include <bodyfrm.hxx> #include <swtable.hxx> diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx index 7e1f1079a686..f756318af219 100644 --- a/sw/source/core/layout/flycnt.cxx +++ b/sw/source/core/layout/flycnt.cxx @@ -18,6 +18,7 @@ */ #include <tools/bigint.hxx> +#include <sal/log.hxx> #include <pagefrm.hxx> #include <txtfrm.hxx> #include <notxtfrm.hxx> diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index dd70e6160d3f..2523582a8e48 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -24,6 +24,7 @@ #include <editeng/ulspitem.hxx> #include <editeng/boxitem.hxx> #include <editeng/lspcitem.hxx> +#include <sal/log.hxx> #include <drawdoc.hxx> #include <fmtornt.hxx> diff --git a/sw/source/core/layout/ftnfrm.cxx b/sw/source/core/layout/ftnfrm.cxx index e34c2603d7bd..ed003618424e 100644 --- a/sw/source/core/layout/ftnfrm.cxx +++ b/sw/source/core/layout/ftnfrm.cxx @@ -35,6 +35,7 @@ #include <calbck.hxx> #include <ndindex.hxx> #include <pam.hxx> +#include <sal/log.hxx> #define ENDNOTE 0x80000000 diff --git a/sw/source/core/layout/hffrm.cxx b/sw/source/core/layout/hffrm.cxx index 437b8992a243..26f8ea1a1f4f 100644 --- a/sw/source/core/layout/hffrm.cxx +++ b/sw/source/core/layout/hffrm.cxx @@ -33,6 +33,7 @@ #include <objectformatter.hxx> #include <ndindex.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> static SwTwips lcl_GetFrameMinHeight(const SwLayoutFrame & rFrame) { diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx index adf37d39cf40..cc1c3513657a 100644 --- a/sw/source/core/layout/layact.cxx +++ b/sw/source/core/layout/layact.cxx @@ -41,6 +41,7 @@ #include <vcl/svapp.hxx> #include <editeng/opaqitem.hxx> #include <SwSmartTagMgr.hxx> +#include <sal/log.hxx> #include <layact.hxx> #include <swwait.hxx> diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx index 675d103b3acd..b507e0933293 100644 --- a/sw/source/core/layout/laycache.cxx +++ b/sw/source/core/layout/laycache.cxx @@ -18,6 +18,7 @@ */ #include <editeng/formatbreakitem.hxx> +#include <sal/log.hxx> #include <doc.hxx> #include <IDocumentStatistics.hxx> #include <IDocumentLayoutAccess.hxx> diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx index 302baec9a9b2..b6aea800609f 100644 --- a/sw/source/core/layout/pagechg.cxx +++ b/sw/source/core/layout/pagechg.cxx @@ -19,6 +19,7 @@ #include <comphelper/lok.hxx> #include <ndole.hxx> +#include <sal/log.hxx> #include <svl/itemiter.hxx> #include <fmtfsize.hxx> #include <fmthdft.hxx> diff --git a/sw/source/core/layout/pagedesc.cxx b/sw/source/core/layout/pagedesc.cxx index 2b173bb9a369..9098e8938fb1 100644 --- a/sw/source/core/layout/pagedesc.cxx +++ b/sw/source/core/layout/pagedesc.cxx @@ -23,6 +23,7 @@ #include <editeng/brushitem.hxx> #include <editeng/shaditem.hxx> #include <editeng/frmdiritem.hxx> +#include <sal/log.hxx> #include <fmtclds.hxx> #include <fmtfsize.hxx> #include <pagefrm.hxx> diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 2c55d516f5c9..3ed96c30813e 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -93,6 +93,7 @@ #include <svx/framelinkarray.hxx> #include <basegfx/matrix/b2dhommatrixtools.hxx> #include <basegfx/color/bcolortools.hxx> +#include <sal/log.hxx> #include <memory> #include <vector> diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx index 7c4ac9749bf9..f604b95cbcf4 100644 --- a/sw/source/core/layout/sectfrm.cxx +++ b/sw/source/core/layout/sectfrm.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <o3tl/safeint.hxx> #include <svl/itemiter.hxx> diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx index 73ca3241d909..5a181405411d 100644 --- a/sw/source/core/layout/tabfrm.cxx +++ b/sw/source/core/layout/tabfrm.cxx @@ -58,6 +58,7 @@ #include <DocumentSettingManager.hxx> #include <docary.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; diff --git a/sw/source/core/swg/SwXMLTextBlocks.cxx b/sw/source/core/swg/SwXMLTextBlocks.cxx index 2f22f88f8b3d..753aba1ada31 100644 --- a/sw/source/core/swg/SwXMLTextBlocks.cxx +++ b/sw/source/core/swg/SwXMLTextBlocks.cxx @@ -21,6 +21,7 @@ #include <com/sun/star/embed/XTransactedObject.hpp> #include <osl/file.hxx> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <sot/stg.hxx> #include <sfx2/docfile.hxx> #include <tools/urlobj.hxx> diff --git a/sw/source/core/table/swnewtable.cxx b/sw/source/core/table/swnewtable.cxx index 89da33af871c..4c78fa0d1ceb 100644 --- a/sw/source/core/table/swnewtable.cxx +++ b/sw/source/core/table/swnewtable.cxx @@ -42,6 +42,7 @@ #include <swtblfmt.hxx> #include <calbck.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> #ifdef DBG_UTIL #define CHECK_TABLE(t) (t).CheckConsistency(); diff --git a/sw/source/core/text/frmform.cxx b/sw/source/core/text/frmform.cxx index 176914b69040..c0d2ca2b413c 100644 --- a/sw/source/core/text/frmform.cxx +++ b/sw/source/core/text/frmform.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <bodyfrm.hxx> #include <hintids.hxx> diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx index eeff3e39eb14..29411db3e296 100644 --- a/sw/source/core/text/inftxt.cxx +++ b/sw/source/core/text/inftxt.cxx @@ -22,6 +22,7 @@ #include <hintids.hxx> #include <svl/ctloptions.hxx> #include <sfx2/printer.hxx> +#include <sal/log.hxx> #include <editeng/hyphenzoneitem.hxx> #include <editeng/escapementitem.hxx> #include <editeng/hngpnctitem.hxx> diff --git a/sw/source/core/text/porfly.cxx b/sw/source/core/text/porfly.cxx index b74c28d8ec7a..8d4fe773d1d2 100644 --- a/sw/source/core/text/porfly.cxx +++ b/sw/source/core/text/porfly.cxx @@ -30,6 +30,7 @@ #include <vcl/outdev.hxx> #include <editeng/lrspitem.hxx> #include <editeng/ulspitem.hxx> +#include <sal/log.hxx> #include <fmtanchr.hxx> #include <fmtflcnt.hxx> #include <fmtornt.hxx> diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx index 843d09c231b8..61e6aecb9d77 100644 --- a/sw/source/core/text/porlay.cxx +++ b/sw/source/core/text/porlay.cxx @@ -35,6 +35,7 @@ #include <com/sun/star/i18n/WordType.hpp> #include <com/sun/star/i18n/XBreakIterator.hpp> #include <paratr.hxx> +#include <sal/log.hxx> #include <editeng/adjustitem.hxx> #include <editeng/scripttypeitem.hxx> #include <editeng/charhiddenitem.hxx> diff --git a/sw/source/core/tox/ToxLinkProcessor.cxx b/sw/source/core/tox/ToxLinkProcessor.cxx index 3970ecdadec7..41052996ebc2 100644 --- a/sw/source/core/tox/ToxLinkProcessor.cxx +++ b/sw/source/core/tox/ToxLinkProcessor.cxx @@ -13,6 +13,7 @@ #include <SwStyleNameMapper.hxx> #include <ndtxt.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> #include <stdexcept> diff --git a/sw/source/core/tox/tox.cxx b/sw/source/core/tox/tox.cxx index d93174cf58af..c3ad4bf86feb 100644 --- a/sw/source/core/tox/tox.cxx +++ b/sw/source/core/tox/tox.cxx @@ -34,6 +34,7 @@ #include <calbck.hxx> #include <boost/optional.hpp> +#include <sal/log.hxx> #include <algorithm> diff --git a/sw/source/core/txtnode/atrfld.cxx b/sw/source/core/txtnode/atrfld.cxx index 05fc94387539..dcd6258a204b 100644 --- a/sw/source/core/txtnode/atrfld.cxx +++ b/sw/source/core/txtnode/atrfld.cxx @@ -40,6 +40,7 @@ #include <IDocumentFieldsAccess.hxx> #include <IDocumentMarkAccess.hxx> #include <fieldhint.hxx> +#include <sal/log.hxx> // constructor for default item in attribute-pool diff --git a/sw/source/core/txtnode/ndhints.cxx b/sw/source/core/txtnode/ndhints.cxx index 5b5ebc7b123a..a68c33878f4c 100644 --- a/sw/source/core/txtnode/ndhints.cxx +++ b/sw/source/core/txtnode/ndhints.cxx @@ -18,6 +18,7 @@ */ #include <editeng/rsiditem.hxx> +#include <sal/log.hxx> #include <txatbase.hxx> #include <ndhints.hxx> #include <txtatr.hxx> diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index 4f1b12610b1b..e168db451d14 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -30,6 +30,7 @@ #include <editeng/tstpitem.hxx> #include <svl/urihelper.hxx> #include <svl/ctloptions.hxx> +#include <sal/log.hxx> #include <swmodule.hxx> #include <txtfld.hxx> #include <txtinet.hxx> diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx index 20a732ba1755..3e2049cf2337 100644 --- a/sw/source/core/txtnode/thints.cxx +++ b/sw/source/core/txtnode/thints.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <DocumentSettingManager.hxx> #include <hintids.hxx> diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx index f2cc8fcd8d2a..19a239c7cca8 100644 --- a/sw/source/core/txtnode/txtedt.cxx +++ b/sw/source/core/txtnode/txtedt.cxx @@ -31,6 +31,7 @@ #include <officecfg/Office/Writer.hxx> #include <unotools/transliterationwrapper.hxx> #include <unotools/charclass.hxx> +#include <sal/log.hxx> #include <dlelstnr.hxx> #include <swmodule.hxx> #include <splargs.hxx> diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx index 55cffe648bcf..74b2f7c7bb27 100644 --- a/sw/source/core/undo/undobj.cxx +++ b/sw/source/core/undo/undobj.cxx @@ -41,6 +41,7 @@ #include <docsh.hxx> #include <view.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> // This class saves the Pam as integers and can recompose those into a PaM SwUndRng::SwUndRng() diff --git a/sw/source/core/unocore/unocoll.cxx b/sw/source/core/unocore/unocoll.cxx index 3138a9be4577..ca2024f61ed4 100644 --- a/sw/source/core/unocore/unocoll.cxx +++ b/sw/source/core/unocore/unocoll.cxx @@ -82,6 +82,7 @@ #include <comphelper/processfactory.hxx> #include <cppuhelper/implbase.hxx> #include <sfx2/event.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::document; diff --git a/sw/source/core/unocore/unocrsrhelper.cxx b/sw/source/core/unocore/unocrsrhelper.cxx index ad54ef7383e1..4bd17b5c681f 100644 --- a/sw/source/core/unocore/unocrsrhelper.cxx +++ b/sw/source/core/unocore/unocrsrhelper.cxx @@ -87,6 +87,7 @@ #include <fmtmeta.hxx> #include <txtfld.hxx> #include <unoparagraph.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index 3919fc2af1ef..dd395d9ac00b 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -19,6 +19,7 @@ #include <memory> #include <sal/config.h> +#include <sal/log.hxx> #include <cmdid.h> diff --git a/sw/source/core/unocore/unoflatpara.cxx b/sw/source/core/unocore/unoflatpara.cxx index a39cf00dee4c..fe9a20658b7b 100644 --- a/sw/source/core/unocore/unoflatpara.cxx +++ b/sw/source/core/unocore/unoflatpara.cxx @@ -48,6 +48,7 @@ #include <comphelper/servicehelper.hxx> #include <comphelper/propertysetinfo.hxx> #include <comphelper/sequence.hxx> +#include <sal/log.hxx> #include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/text/XTextRange.hpp> diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index c3d409e02fec..bf25aeb4d4f7 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -125,6 +125,7 @@ #include <calbck.hxx> #include <comphelper/servicehelper.hxx> #include <cppuhelper/supportsservice.hxx> +#include <sal/log.hxx> #include <svx/unobrushitemhelper.hxx> #include <svx/xbtmpit.hxx> diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx index 99cca1905f61..b60f7f297e6a 100644 --- a/sw/source/core/unocore/unoportenum.cxx +++ b/sw/source/core/unocore/unoportenum.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <utility> diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx index 541fa5eea8eb..281a010690a4 100644 --- a/sw/source/core/unocore/unoredline.cxx +++ b/sw/source/core/unocore/unoredline.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <utility> diff --git a/sw/source/core/unocore/unorefmk.cxx b/sw/source/core/unocore/unorefmk.cxx index 41793c482bbe..87bd776c433b 100644 --- a/sw/source/core/unocore/unorefmk.cxx +++ b/sw/source/core/unocore/unorefmk.cxx @@ -30,6 +30,7 @@ #include <sal/config.h> #include <svl/listener.hxx> #include <vcl/svapp.hxx> +#include <sal/log.hxx> #include <unomid.h> #include <unotextrange.hxx> diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx index e27cc31c0780..ca01c7e9de37 100644 --- a/sw/source/core/unocore/unosett.cxx +++ b/sw/source/core/unocore/unosett.cxx @@ -75,6 +75,7 @@ #include <svl/itemprop.hxx> #include <svl/listener.hxx> #include <paratr.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 769de1c04af6..e85e44f0214e 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -81,6 +81,7 @@ #include <cppuhelper/supportsservice.hxx> #include <comphelper/sequence.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> #include <svl/stylepool.hxx> #include <svx/unobrushitemhelper.hxx> diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index e12c40acf458..37fe6c7b19d8 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -100,6 +100,7 @@ #include <unochart.hxx> #include <sortopt.hxx> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <editeng/frmdiritem.hxx> #include <calbck.hxx> #include <comphelper/interfacecontainer2.hxx> diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index 5fd149373e0a..bedc64cbf56d 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -37,6 +37,7 @@ #include <comphelper/servicehelper.hxx> #include <cppuhelper/exc_hlp.hxx> #include <cppuhelper/supportsservice.hxx> +#include <sal/log.hxx> #include <cmdid.h> #include <unotextbodyhf.hxx> diff --git a/sw/source/core/view/vdraw.cxx b/sw/source/core/view/vdraw.cxx index fabae25e722c..58aa93ac2d1e 100644 --- a/sw/source/core/view/vdraw.cxx +++ b/sw/source/core/view/vdraw.cxx @@ -41,6 +41,7 @@ #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <vcl/canvastools.hxx> +#include <sal/log.hxx> #include <basegfx/range/b2irectangle.hxx> diff --git a/sw/source/core/view/viewimp.cxx b/sw/source/core/view/viewimp.cxx index 1475a5edac3a..c8c427105e6f 100644 --- a/sw/source/core/view/viewimp.cxx +++ b/sw/source/core/view/viewimp.cxx @@ -35,6 +35,7 @@ #include <pagepreviewlayout.hxx> #include <svx/svdundo.hxx> #include <comphelper/lok.hxx> +#include <sal/log.hxx> #include <IDocumentLayoutAccess.hxx> #include <IDocumentDrawModelAccess.hxx> #include <IDocumentDeviceAccess.hxx> diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 76435e704cd9..de050752bdce 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -26,6 +26,7 @@ #include <svx/svdobj.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/ipclient.hxx> +#include <sal/log.hxx> #include <drawdoc.hxx> #include <swwait.hxx> #include <swmodule.hxx> diff --git a/sw/source/core/view/vnew.cxx b/sw/source/core/view/vnew.cxx index f8ef50bcc65a..92899880beef 100644 --- a/sw/source/core/view/vnew.cxx +++ b/sw/source/core/view/vnew.cxx @@ -18,6 +18,7 @@ */ #include <sfx2/printer.hxx> +#include <sal/log.hxx> #include <doc.hxx> #include <IDocumentUndoRedo.hxx> #include <DocumentSettingManager.hxx> |