diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-27 17:57:59 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-30 09:28:40 +0200 |
commit | bdb0775a262cb66e8924303c98bf5180a7fb02ee (patch) | |
tree | 0e0d35a99ffad8d4f6f9ffe89a7bb7b1d02739fb | |
parent | 9cceba9a928cf3b3447f293020be2fe76c035ed5 (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 filter to jvmfwk
Change-Id: I2a73d63f2aaef5f26d7d08957daaa8a30b412ac5
Reviewed-on: https://gerrit.libreoffice.org/58204
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
109 files changed, 111 insertions, 1 deletions
diff --git a/filter/qa/cppunit/xslt-test.cxx b/filter/qa/cppunit/xslt-test.cxx index 6ec1ef7cd60a..aab6e3287bde 100644 --- a/filter/qa/cppunit/xslt-test.cxx +++ b/filter/qa/cppunit/xslt-test.cxx @@ -19,6 +19,7 @@ #include <cppunit/plugin/TestPlugIn.h> #include <sal/types.h> +#include <sal/log.hxx> #include <rtl/ref.hxx> diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index dd2c3fdc35a0..3725a7995f93 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -48,6 +48,7 @@ #include <unotools/configpaths.hxx> #include <rtl/ustrbuf.hxx> #include <rtl/uri.hxx> +#include <sal/log.hxx> #include <tools/urlobj.hxx> #include <tools/wldcrd.hxx> #include <i18nlangtag/languagetag.hxx> diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index 445c6ed09cf7..c170b74533d8 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -30,6 +30,7 @@ #include <com/sun/star/task/XInteractionHandler.hpp> #include <tools/wldcrd.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <framework/interaction.hxx> #include <tools/urlobj.hxx> #include <comphelper/fileurl.hxx> diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx index d1634cce17ff..882a4794401d 100644 --- a/filter/source/flash/swfwriter1.cxx +++ b/filter/source/flash/swfwriter1.cxx @@ -30,6 +30,7 @@ #include <basegfx/matrix/b2dhommatrixtools.hxx> #include <vcl/graphicfilter.hxx> #include <vcl/graphictools.hxx> +#include <sal/log.hxx> #include <zlib.h> diff --git a/filter/source/graphicfilter/icgm/cgm.cxx b/filter/source/graphicfilter/icgm/cgm.cxx index f3c1ee5d7f72..600946a2c1a7 100644 --- a/filter/source/graphicfilter/icgm/cgm.cxx +++ b/filter/source/graphicfilter/icgm/cgm.cxx @@ -28,6 +28,7 @@ #include "elements.hxx" #include "outact.hxx" #include <memory> +#include <sal/log.hxx> using namespace ::com::sun::star; diff --git a/filter/source/graphicfilter/ieps/ieps.cxx b/filter/source/graphicfilter/ieps/ieps.cxx index 6a422f1f6b09..6b047eef7ed5 100644 --- a/filter/source/graphicfilter/ieps/ieps.cxx +++ b/filter/source/graphicfilter/ieps/ieps.cxx @@ -36,6 +36,7 @@ #include <osl/file.hxx> #include <osl/thread.h> #include <rtl/byteseq.hxx> +#include <sal/log.hxx> #include <o3tl/char16_t2wchar_t.hxx> #include <o3tl/safeint.hxx> #include <memory> diff --git a/filter/source/graphicfilter/ios2met/ios2met.cxx b/filter/source/graphicfilter/ios2met/ios2met.cxx index 1c1a077355e5..2c9202243893 100644 --- a/filter/source/graphicfilter/ios2met/ios2met.cxx +++ b/filter/source/graphicfilter/ios2met/ios2met.cxx @@ -21,6 +21,7 @@ #include <o3tl/safeint.hxx> #include <tools/poly.hxx> #include <tools/fract.hxx> +#include <sal/log.hxx> #include <vcl/graph.hxx> #include <vcl/dibtools.hxx> #include <vcl/virdev.hxx> diff --git a/filter/source/graphicfilter/ipict/ipict.cxx b/filter/source/graphicfilter/ipict/ipict.cxx index d6e37740dff1..8b99ccbd1aa8 100644 --- a/filter/source/graphicfilter/ipict/ipict.cxx +++ b/filter/source/graphicfilter/ipict/ipict.cxx @@ -19,6 +19,7 @@ #include <string.h> #include <osl/thread.h> +#include <sal/log.hxx> #include <vcl/BitmapTools.hxx> #include <vcl/graph.hxx> #include <tools/poly.hxx> diff --git a/filter/source/graphicfilter/ipsd/ipsd.cxx b/filter/source/graphicfilter/ipsd/ipsd.cxx index b5b4a81d3bf2..527604e5b173 100644 --- a/filter/source/graphicfilter/ipsd/ipsd.cxx +++ b/filter/source/graphicfilter/ipsd/ipsd.cxx @@ -21,6 +21,7 @@ #include <vcl/graph.hxx> #include <vcl/BitmapTools.hxx> #include <vcl/outdev.hxx> +#include <sal/log.hxx> #include <tools/fract.hxx> #include <memory> diff --git a/filter/source/graphicfilter/iras/iras.cxx b/filter/source/graphicfilter/iras/iras.cxx index 30e00d45f9e1..54401c8c05b2 100644 --- a/filter/source/graphicfilter/iras/iras.cxx +++ b/filter/source/graphicfilter/iras/iras.cxx @@ -20,6 +20,7 @@ #include <vcl/graph.hxx> #include <vcl/BitmapTools.hxx> +#include <sal/log.hxx> class FilterConfigItem; diff --git a/filter/source/graphicfilter/itiff/itiff.cxx b/filter/source/graphicfilter/itiff/itiff.cxx index 187910ad4c42..4dbc1589ca5a 100644 --- a/filter/source/graphicfilter/itiff/itiff.cxx +++ b/filter/source/graphicfilter/itiff/itiff.cxx @@ -19,6 +19,7 @@ #include <memory> #include <sal/config.h> +#include <sal/log.hxx> #include <vcl/FilterConfigItem.hxx> #include <vcl/graph.hxx> diff --git a/filter/source/graphicfilter/itiff/lzwdecom.cxx b/filter/source/graphicfilter/itiff/lzwdecom.cxx index e1a952987169..88beb13d9b6f 100644 --- a/filter/source/graphicfilter/itiff/lzwdecom.cxx +++ b/filter/source/graphicfilter/itiff/lzwdecom.cxx @@ -19,6 +19,7 @@ #include "lzwdecom.hxx" +#include <sal/log.hxx> #include <tools/stream.hxx> #include <algorithm> #include <set> diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 775ebda731c9..0540c70be8ef 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -93,6 +93,7 @@ #include <vcl/virdev.hxx> #include <rtl/crc.h> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <basegfx/polygon/b2dpolypolygontools.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> #include <memory> diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx index 6ca01c04252b..94aaad804005 100644 --- a/filter/source/msfilter/eschesdo.cxx +++ b/filter/source/msfilter/eschesdo.cxx @@ -20,6 +20,7 @@ #include <memory> #include "eschesdo.hxx" #include <o3tl/any.hxx> +#include <sal/log.hxx> #include <svx/svdobj.hxx> #include <svx/unoapi.hxx> #include <svx/svdoashp.hxx> diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 76dbc4957424..09a80f4a2cb6 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -26,6 +26,7 @@ #include <osl/file.hxx> #include <tools/solar.h> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <comphelper/classids.hxx> #include <toolkit/helper/vclunohelper.hxx> diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx index 52d69b901a34..5761d896a571 100644 --- a/filter/source/msfilter/mstoolbar.cxx +++ b/filter/source/msfilter/mstoolbar.cxx @@ -8,6 +8,7 @@ */ #include <filter/msfilter/mstoolbar.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <stdarg.h> #include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/ui/XUIConfigurationManager.hpp> diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx index 90a38ca8d979..92d4b98229d4 100644 --- a/filter/source/msfilter/msvbahelper.cxx +++ b/filter/source/msfilter/msvbahelper.cxx @@ -34,6 +34,7 @@ #include <cppuhelper/supportsservice.hxx> #include <tools/urlobj.hxx> #include <osl/file.hxx> +#include <sal/log.hxx> #include <unotools/pathoptions.hxx> #include <rtl/character.hxx> #include <sfx2/objsh.hxx> diff --git a/filter/source/msfilter/rtfutil.cxx b/filter/source/msfilter/rtfutil.cxx index 4ff71330b85c..13a8ef59b956 100644 --- a/filter/source/msfilter/rtfutil.cxx +++ b/filter/source/msfilter/rtfutil.cxx @@ -9,6 +9,7 @@ #include <filter/msfilter/rtfutil.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <osl/diagnose.h> #include <svtools/rtfkeywd.hxx> #include <rtl/character.hxx> diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 2aa27ae4aaac..9d8902ccc3d4 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -121,6 +121,7 @@ #include <o3tl/make_unique.hxx> #include <o3tl/safeint.hxx> #include <boost/optional.hpp> +#include <sal/log.hxx> #include <algorithm> #include <cassert> diff --git a/filter/source/odfflatxml/OdfFlatXml.cxx b/filter/source/odfflatxml/OdfFlatXml.cxx index 0f545ea2f051..b1f6ccde72a4 100644 --- a/filter/source/odfflatxml/OdfFlatXml.cxx +++ b/filter/source/odfflatxml/OdfFlatXml.cxx @@ -13,6 +13,7 @@ #include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <sax/tools/documenthandleradapter.hxx> diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index afc84e0c3fc2..861611cc51c9 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -28,6 +28,7 @@ #include <sfx2/passwd.hxx> #include <svtools/miscopt.hxx> #include <unotools/resmgr.hxx> +#include <sal/log.hxx> #include <comphelper/propertyvalue.hxx> #include <comphelper/sequence.hxx> diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx index 9d1a4d56d562..835e6e69bfd5 100644 --- a/filter/source/svg/svgfilter.cxx +++ b/filter/source/svg/svgfilter.cxx @@ -20,6 +20,7 @@ #include <cstdio> +#include <sal/log.hxx> #include <comphelper/lok.hxx> #include <comphelper/servicedecl.hxx> #include <uno/environment.h> diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 56aada391e91..5ab6193637e1 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -23,6 +23,7 @@ #include <comphelper/base64.hxx> #include <rtl/crc.h> +#include <sal/log.hxx> #include <vcl/unohelp.hxx> #include <vcl/outdev.hxx> #include <vcl/settings.hxx> diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx index ea97c7ad3fba..d5152c5d13e6 100644 --- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx +++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx @@ -20,6 +20,7 @@ #include <iostream> #include <stdlib.h> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <tools/urlobj.hxx> #include "XmlFilterAdaptor.hxx" #include <com/sun/star/lang/XMultiServiceFactory.hpp> diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx index f7effe9b7f34..df8ef610c0af 100644 --- a/filter/source/xsltfilter/XSLTFilter.cxx +++ b/filter/source/xsltfilter/XSLTFilter.cxx @@ -28,6 +28,7 @@ #include <osl/conditn.hxx> #include <rtl/strbuf.hxx> #include <tools/urlobj.hxx> +#include <sal/log.hxx> #include <comphelper/interaction.hxx> #include <comphelper/processfactory.hxx> diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx index 0627d60059e2..b7cc5dc73f8e 100644 --- a/forms/source/component/Edit.cxx +++ b/forms/source/component/Edit.cxx @@ -38,6 +38,7 @@ #include <comphelper/property.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> using namespace dbtools; diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index b9d9317985ba..7d4078a83fb5 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -50,6 +50,7 @@ #include <toolkit/helper/emptyfontdescriptor.hxx> #include <tools/debug.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <functional> #include <algorithm> diff --git a/forms/source/component/FormsCollection.cxx b/forms/source/component/FormsCollection.cxx index 0f6aa34f7d4f..841bc493e8a7 100644 --- a/forms/source/component/FormsCollection.cxx +++ b/forms/source/component/FormsCollection.cxx @@ -21,6 +21,7 @@ #include <services.hxx> #include <comphelper/sequence.hxx> #include <cppuhelper/supportsservice.hxx> +#include <sal/log.hxx> #include <com/sun/star/form/XForm.hpp> using namespace frm; diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 869c0e9e04ab..3a55e313dcf1 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -48,6 +48,7 @@ #include <o3tl/any.hxx> #include <tools/debug.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <unotools/sharedunocomponent.hxx> #include <vcl/svapp.hxx> diff --git a/forms/source/component/errorbroadcaster.cxx b/forms/source/component/errorbroadcaster.cxx index fe1121c660c5..1d36b519a5ff 100644 --- a/forms/source/component/errorbroadcaster.cxx +++ b/forms/source/component/errorbroadcaster.cxx @@ -20,6 +20,7 @@ #include "errorbroadcaster.hxx" #include <connectivity/dbtools.hxx> #include <com/sun/star/sdb/SQLContext.hpp> +#include <sal/log.hxx> namespace frm diff --git a/forms/source/component/formcontrolfont.cxx b/forms/source/component/formcontrolfont.cxx index 974f3984b202..c00ecad5b0f7 100644 --- a/forms/source/component/formcontrolfont.cxx +++ b/forms/source/component/formcontrolfont.cxx @@ -24,6 +24,7 @@ #include <comphelper/property.hxx> #include <comphelper/types.hxx> #include <tools/color.hxx> +#include <sal/log.hxx> #include <toolkit/helper/emptyfontdescriptor.hxx> #include <com/sun/star/awt/FontRelief.hpp> #include <com/sun/star/awt/FontEmphasisMark.hpp> diff --git a/forms/source/misc/InterfaceContainer.cxx b/forms/source/misc/InterfaceContainer.cxx index 266b5de5d5b6..faa4aec158f4 100644 --- a/forms/source/misc/InterfaceContainer.cxx +++ b/forms/source/misc/InterfaceContainer.cxx @@ -44,6 +44,7 @@ #include <cppuhelper/queryinterface.hxx> #include <tools/debug.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <algorithm> #include <memory> diff --git a/forms/source/richtext/attributedispatcher.cxx b/forms/source/richtext/attributedispatcher.cxx index 7a01b3de6407..309bc6b8d8fc 100644 --- a/forms/source/richtext/attributedispatcher.cxx +++ b/forms/source/richtext/attributedispatcher.cxx @@ -20,6 +20,7 @@ #include "attributedispatcher.hxx" #include <editeng/editview.hxx> +#include <sal/log.hxx> namespace frm diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index b88e4fa94fcb..7962c7b9bf5d 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -30,6 +30,7 @@ #include <toolkit/helper/vclunohelper.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <vcl/svapp.hxx> #include <svx/svxids.hrc> diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx index 52c0a0b6b707..0fc975a278cc 100644 --- a/forms/source/richtext/richtextimplcontrol.cxx +++ b/forms/source/richtext/richtextimplcontrol.cxx @@ -20,6 +20,7 @@ #include "richtextimplcontrol.hxx" #include "textattributelistener.hxx" #include "richtextengine.hxx" +#include <sal/log.hxx> #include <editeng/editeng.hxx> #include <editeng/editview.hxx> #include <editeng/eeitem.hxx> diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx index 525aa803f83f..76e3ec2a9647 100644 --- a/forms/source/runtime/formoperations.cxx +++ b/forms/source/runtime/formoperations.cxx @@ -61,6 +61,7 @@ #include <cppuhelper/supportsservice.hxx> #include <osl/mutex.hxx> #include <sal/macros.h> +#include <sal/log.hxx> namespace frm diff --git a/forms/source/xforms/datatypes.cxx b/forms/source/xforms/datatypes.cxx index c0b1a978a3e9..55ceeac78f14 100644 --- a/forms/source/xforms/datatypes.cxx +++ b/forms/source/xforms/datatypes.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/xsd/WhiteSpaceTreatment.hpp> #include <tools/datetime.hxx> #include <rtl/math.hxx> +#include <sal/log.hxx> namespace xforms diff --git a/forms/source/xforms/submission/replace.cxx b/forms/source/xforms/submission/replace.cxx index 8804c3c92b4b..4d3cb04888a8 100644 --- a/forms/source/xforms/submission/replace.cxx +++ b/forms/source/xforms/submission/replace.cxx @@ -24,6 +24,7 @@ #include <osl/diagnose.h> #include <rtl/ustring.hxx> #include <rtl/string.hxx> +#include <sal/log.hxx> #include <comphelper/processfactory.hxx> #include <com/sun/star/uno/Reference.hxx> diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index d11bd25a08d1..964c38cdb69d 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -18,6 +18,7 @@ */ #include <sal/macros.h> #include <sal/alloca.h> +#include <sal/log.hxx> #include <formula/FormulaCompiler.hxx> #include <formula/errorcodes.hxx> #include <formula/token.hxx> diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx index 37b19d3b21f3..aa98a4e56bdb 100644 --- a/formula/source/core/api/token.cxx +++ b/formula/source/core/api/token.cxx @@ -25,6 +25,7 @@ #include <string.h> #include <limits.h> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <com/sun/star/sheet/FormulaToken.hpp> #include <formula/errorcodes.hxx> diff --git a/formula/source/core/api/vectortoken.cxx b/formula/source/core/api/vectortoken.cxx index b98b5ecb8487..b4bc14370a7d 100644 --- a/formula/source/core/api/vectortoken.cxx +++ b/formula/source/core/api/vectortoken.cxx @@ -8,6 +8,7 @@ */ #include <formula/vectortoken.hxx> +#include <sal/log.hxx> namespace formula { diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 5abc04622e15..183a6fb1440c 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -36,6 +36,7 @@ #include <svl/stritem.hxx> #include <svl/zforlist.hxx> #include <svl/eitem.hxx> +#include <sal/log.hxx> #include <unotools/charclass.hxx> #include <tools/diagnose_ex.h> diff --git a/formula/source/ui/dlg/parawin.cxx b/formula/source/ui/dlg/parawin.cxx index 2a7d04cda253..e8a86ada7214 100644 --- a/formula/source/ui/dlg/parawin.cxx +++ b/formula/source/ui/dlg/parawin.cxx @@ -21,6 +21,7 @@ #include <svl/zforlist.hxx> #include <svl/stritem.hxx> #include <vcl/settings.hxx> +#include <sal/log.hxx> #include "parawin.hxx" #include <formula/formdata.hxx> diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx index 0175c6840008..c39cf363766c 100644 --- a/fpicker/source/office/OfficeControlAccess.cxx +++ b/fpicker/source/office/OfficeControlAccess.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp> #include <com/sun/star/ui/dialogs/CommonFilePickerElementIds.hpp> #include <com/sun/star/ui/dialogs/ControlActions.hpp> +#include <sal/log.hxx> #include <vcl/lstbox.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <tools/urlobj.hxx> diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index 581f015a0ec6..8966e7f9f426 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -24,6 +24,7 @@ #include <list> #include <algorithm> +#include <sal/log.hxx> #include <tools/urlobj.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/ui/dialogs/FilePickerEvent.hpp> diff --git a/fpicker/source/office/commonpicker.cxx b/fpicker/source/office/commonpicker.cxx index 74e6cc27441a..c270134d2d49 100644 --- a/fpicker/source/office/commonpicker.cxx +++ b/fpicker/source/office/commonpicker.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/beans/NamedValue.hpp> #include <vcl/svapp.hxx> #include <osl/mutex.hxx> +#include <sal/log.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <comphelper/weakeventlistener.hxx> #include <comphelper/types.hxx> diff --git a/fpicker/source/office/fpinteraction.cxx b/fpicker/source/office/fpinteraction.cxx index 5026ea2664eb..eaaecaf305be 100644 --- a/fpicker/source/office/fpinteraction.cxx +++ b/fpicker/source/office/fpinteraction.cxx @@ -24,6 +24,8 @@ #include <com/sun/star/task/XInteractionDisapprove.hpp> #include <com/sun/star/task/XInteractionRetry.hpp> +#include <sal/log.hxx> + namespace svt { diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index ac43ea6ebe5d..24b09128ee7e 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -20,6 +20,7 @@ #include <sal/config.h> #include <sal/macros.h> +#include <sal/log.hxx> #include "iodlg.hxx" #include <svtools/PlaceEditDialog.hxx> #include "PlacesListBox.hxx" diff --git a/fpicker/source/win32/folderpicker/MtaFop.cxx b/fpicker/source/win32/folderpicker/MtaFop.cxx index ba951039edeb..cabf3edaff50 100644 --- a/fpicker/source/win32/folderpicker/MtaFop.cxx +++ b/fpicker/source/win32/folderpicker/MtaFop.cxx @@ -19,6 +19,7 @@ #include <osl/diagnose.h> #include <osl/thread.h> +#include <sal/log.hxx> #include <o3tl/char16_t2wchar_t.hxx> #include <vcl/svapp.hxx> diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx index 398b2ed5978f..d7533b3973f5 100644 --- a/framework/source/accelerators/acceleratorconfiguration.cxx +++ b/framework/source/accelerators/acceleratorconfiguration.cxx @@ -49,6 +49,7 @@ #include <officecfg/Setup.hxx> #include <unotools/configpaths.hxx> #include <svtools/acceleratorexecute.hxx> +#include <sal/log.hxx> #define PRESET_DEFAULT "default" #define TARGET_CURRENT "current" diff --git a/framework/source/accelerators/storageholder.cxx b/framework/source/accelerators/storageholder.cxx index a07883803443..d6f52ffcff72 100644 --- a/framework/source/accelerators/storageholder.cxx +++ b/framework/source/accelerators/storageholder.cxx @@ -19,6 +19,7 @@ #include <accelerators/storageholder.hxx> #include <accelerators/acceleratorconfiguration.hxx> +#include <sal/log.hxx> #include <services.h> diff --git a/framework/source/classes/framecontainer.cxx b/framework/source/classes/framecontainer.cxx index 2e994423e89e..94893ce3198a 100644 --- a/framework/source/classes/framecontainer.cxx +++ b/framework/source/classes/framecontainer.cxx @@ -23,6 +23,7 @@ #include <vcl/svapp.hxx> #include <comphelper/sequence.hxx> +#include <sal/log.hxx> namespace framework{ diff --git a/framework/source/dispatch/dispatchprovider.cxx b/framework/source/dispatch/dispatchprovider.cxx index 177ef42a302a..7e7bb405ea43 100644 --- a/framework/source/dispatch/dispatchprovider.cxx +++ b/framework/source/dispatch/dispatchprovider.cxx @@ -43,6 +43,7 @@ #include <rtl/ustring.hxx> #include <vcl/svapp.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> namespace framework{ diff --git a/framework/source/dispatch/loaddispatcher.cxx b/framework/source/dispatch/loaddispatcher.cxx index 5d1b7346fade..836fcae3c60f 100644 --- a/framework/source/dispatch/loaddispatcher.cxx +++ b/framework/source/dispatch/loaddispatcher.cxx @@ -18,6 +18,7 @@ */ #include <dispatch/loaddispatcher.hxx> +#include <sal/log.hxx> #include <com/sun/star/frame/DispatchResultState.hpp> diff --git a/framework/source/dispatch/popupmenudispatcher.cxx b/framework/source/dispatch/popupmenudispatcher.cxx index 03029bce3922..2463890e16b1 100644 --- a/framework/source/dispatch/popupmenudispatcher.cxx +++ b/framework/source/dispatch/popupmenudispatcher.cxx @@ -38,6 +38,7 @@ #include <cppuhelper/supportsservice.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <ucbhelper/content.hxx> #include <vcl/svapp.hxx> diff --git a/framework/source/dispatch/servicehandler.cxx b/framework/source/dispatch/servicehandler.cxx index a6588bad7ec9..fef8302f8fb6 100644 --- a/framework/source/dispatch/servicehandler.cxx +++ b/framework/source/dispatch/servicehandler.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/task/XJobExecutor.hpp> #include <vcl/svapp.hxx> +#include <sal/log.hxx> namespace framework{ diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx index 136cc7c26984..7f2902cab545 100644 --- a/framework/source/fwe/classes/addonsoptions.cxx +++ b/framework/source/fwe/classes/addonsoptions.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <comphelper/getexpandeduri.hxx> #include <comphelper/processfactory.hxx> #include <vcl/dibtools.hxx> diff --git a/framework/source/fwe/classes/framelistanalyzer.cxx b/framework/source/fwe/classes/framelistanalyzer.cxx index 26c22acc286b..3bb31726244a 100644 --- a/framework/source/fwe/classes/framelistanalyzer.cxx +++ b/framework/source/fwe/classes/framelistanalyzer.cxx @@ -32,6 +32,7 @@ #include <comphelper/processfactory.hxx> #include <vcl/svapp.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> namespace framework{ diff --git a/framework/source/fwi/classes/protocolhandlercache.cxx b/framework/source/fwi/classes/protocolhandlercache.cxx index 8ae9441727ab..67cf91f4f0df 100644 --- a/framework/source/fwi/classes/protocolhandlercache.cxx +++ b/framework/source/fwi/classes/protocolhandlercache.cxx @@ -29,6 +29,7 @@ #include <tools/wldcrd.hxx> #include <unotools/configpaths.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <vcl/svapp.hxx> #define SETNAME_HANDLER "HandlerSet" // name of configuration set inside package diff --git a/framework/source/fwi/helper/mischelper.cxx b/framework/source/fwi/helper/mischelper.cxx index 91e864c9d99c..fa94988a7e35 100644 --- a/framework/source/fwi/helper/mischelper.cxx +++ b/framework/source/fwi/helper/mischelper.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/linguistic2/LanguageGuessing.hpp> +#include <sal/log.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> #include <i18nlangtag/languagetag.hxx> diff --git a/framework/source/fwi/jobs/configaccess.cxx b/framework/source/fwi/jobs/configaccess.cxx index b641982ca300..e61db20e18a6 100644 --- a/framework/source/fwi/jobs/configaccess.cxx +++ b/framework/source/fwi/jobs/configaccess.cxx @@ -30,6 +30,7 @@ #include <unotools/configpaths.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> namespace framework{ diff --git a/framework/source/fwi/threadhelp/transactionmanager.cxx b/framework/source/fwi/threadhelp/transactionmanager.cxx index d3fd2155f5e4..5510a24ee96e 100644 --- a/framework/source/fwi/threadhelp/transactionmanager.cxx +++ b/framework/source/fwi/threadhelp/transactionmanager.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <cassert> diff --git a/framework/source/helper/ocomponentaccess.cxx b/framework/source/helper/ocomponentaccess.cxx index cb5eed5a9e18..81904523350d 100644 --- a/framework/source/helper/ocomponentaccess.cxx +++ b/framework/source/helper/ocomponentaccess.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/frame/FrameSearchFlag.hpp> #include <vcl/svapp.hxx> +#include <sal/log.hxx> namespace framework{ diff --git a/framework/source/helper/ocomponentenumeration.cxx b/framework/source/helper/ocomponentenumeration.cxx index de57e8669114..5e374dc4d17e 100644 --- a/framework/source/helper/ocomponentenumeration.cxx +++ b/framework/source/helper/ocomponentenumeration.cxx @@ -20,6 +20,7 @@ #include <helper/ocomponentenumeration.hxx> #include <vcl/svapp.hxx> +#include <sal/log.hxx> namespace framework{ diff --git a/framework/source/helper/oframes.cxx b/framework/source/helper/oframes.cxx index 8a0ac74218d2..0b59f89ac8d3 100644 --- a/framework/source/helper/oframes.cxx +++ b/framework/source/helper/oframes.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/frame/FrameSearchFlag.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <vcl/svapp.hxx> +#include <sal/log.hxx> namespace framework{ diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx index 521e06abdbe9..047bb7170004 100644 --- a/framework/source/jobs/job.cxx +++ b/framework/source/jobs/job.cxx @@ -32,6 +32,7 @@ #include <comphelper/sequence.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <vcl/svapp.hxx> namespace framework{ diff --git a/framework/source/jobs/jobexecutor.cxx b/framework/source/jobs/jobexecutor.cxx index ac76776a2934..23db4f21fe5f 100644 --- a/framework/source/jobs/jobexecutor.cxx +++ b/framework/source/jobs/jobexecutor.cxx @@ -43,6 +43,7 @@ #include <unotools/configpaths.hxx> #include <rtl/ref.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <vcl/svapp.hxx> using namespace framework; diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index a9adad1716b4..276b9cbbad00 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -76,6 +76,7 @@ #include <rtl/ref.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <algorithm> diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx index a2a1df0c8e90..2c712f3b9752 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx @@ -43,6 +43,7 @@ #include <vcl/i18nhelp.hxx> #include <vcl/dockingarea.hxx> #include <vcl/settings.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index 33d4233cd441..2963013872f9 100644 --- a/framework/source/loadenv/loadenv.cxx +++ b/framework/source/loadenv/loadenv.cxx @@ -84,6 +84,7 @@ #include <comphelper/configurationhelper.hxx> #include <rtl/ustrbuf.hxx> #include <rtl/bootstrap.hxx> +#include <sal/log.hxx> #include <vcl/svapp.hxx> #include <cppuhelper/implbase.hxx> #include <comphelper/profilezone.hxx> diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index fb33427d2e67..8247183340e9 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -90,6 +90,7 @@ #include <osl/time.h> #include <vcl/weld.hxx> #include <osl/file.hxx> +#include <sal/log.hxx> #include <unotools/bootstrap.hxx> #include <unotools/configmgr.hxx> #include <svl/documentlockfile.hxx> diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx index 16a84c2f84ac..17856a70a81b 100644 --- a/framework/source/services/desktop.cxx +++ b/framework/source/services/desktop.cxx @@ -67,6 +67,7 @@ #include <vcl/svapp.hxx> #include <desktop/crashreport.hxx> #include <vcl/scheduler.hxx> +#include <sal/log.hxx> #include <vcl/errinf.hxx> #include <unotools/configmgr.hxx> diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 4647f0e81b2b..8bbecd5c434a 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -76,6 +76,7 @@ #include <cppuhelper/weak.hxx> #include <rtl/ref.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <vcl/window.hxx> #include <vcl/wrkwin.hxx> #include <vcl/svapp.hxx> diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index e3466af842ba..a95623a1073e 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -35,6 +35,7 @@ #include <tools/urlobj.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <cppuhelper/basemutex.hxx> #include <cppuhelper/propshlp.hxx> diff --git a/framework/source/services/sessionlistener.cxx b/framework/source/services/sessionlistener.cxx index a3bef54bfa96..fb33eead886f 100644 --- a/framework/source/services/sessionlistener.cxx +++ b/framework/source/services/sessionlistener.cxx @@ -18,6 +18,7 @@ */ #include <sal/types.h> +#include <sal/log.hxx> #include <services/desktop.hxx> #include <protocols.h> diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx index 6a074d471a29..0e206c36d2a0 100644 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -33,6 +33,7 @@ #include <tools/urlobj.hxx> #include <rtl/ustrbuf.hxx> #include <rtl/bootstrap.hxx> +#include <sal/log.hxx> #include <officecfg/Office/Paths.hxx> diff --git a/framework/source/uiconfiguration/ImageArrayData.cxx b/framework/source/uiconfiguration/ImageArrayData.cxx index 508f79105d98..efe58dffa6e0 100644 --- a/framework/source/uiconfiguration/ImageArrayData.cxx +++ b/framework/source/uiconfiguration/ImageArrayData.cxx @@ -30,6 +30,7 @@ #include "image.h" #include <memory> +#include <sal/log.hxx> #if OSL_DEBUG_LEVEL > 0 #include <rtl/strbuf.hxx> diff --git a/framework/source/uiconfiguration/ImageList.cxx b/framework/source/uiconfiguration/ImageList.cxx index 870d8e3e10db..0bb10d3d2bdb 100644 --- a/framework/source/uiconfiguration/ImageList.cxx +++ b/framework/source/uiconfiguration/ImageList.cxx @@ -18,6 +18,7 @@ */ #include <osl/file.hxx> +#include <sal/log.hxx> #include <tools/debug.hxx> #include <tools/stream.hxx> #include <vcl/settings.hxx> diff --git a/framework/source/uiconfiguration/moduleimagemanager.cxx b/framework/source/uiconfiguration/moduleimagemanager.cxx index afad4cb7ca99..b7c80d0740b5 100644 --- a/framework/source/uiconfiguration/moduleimagemanager.cxx +++ b/framework/source/uiconfiguration/moduleimagemanager.cxx @@ -37,6 +37,7 @@ #include <vcl/svapp.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <osl/file.hxx> // namespaces diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx index 229b5392b640..65f78414d938 100644 --- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx @@ -58,6 +58,7 @@ #include <vcl/svapp.hxx> #include <rtl/ref.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <comphelper/sequenceashashmap.hxx> #include <memory> diff --git a/framework/source/uiconfiguration/uicategorydescription.cxx b/framework/source/uiconfiguration/uicategorydescription.cxx index f30c2b88d799..27440a7437cd 100644 --- a/framework/source/uiconfiguration/uicategorydescription.cxx +++ b/framework/source/uiconfiguration/uicategorydescription.cxx @@ -32,6 +32,7 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <unotools/configmgr.hxx> diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx index 9fb4b42ea11d..4e84354928c9 100644 --- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx @@ -52,6 +52,7 @@ #include <vcl/svapp.hxx> #include <rtl/ref.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <unordered_map> diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx index 4e6e4dea583d..65f0835de741 100644 --- a/framework/source/uiconfiguration/windowstateconfiguration.cxx +++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx @@ -42,6 +42,7 @@ #include <cppuhelper/supportsservice.hxx> #include <comphelper/propertysequence.hxx> #include <comphelper/sequence.hxx> +#include <sal/log.hxx> #include <unordered_map> #include <vector> diff --git a/framework/source/uielement/langselectionstatusbarcontroller.cxx b/framework/source/uielement/langselectionstatusbarcontroller.cxx index 3e3b0a4634fd..aa19d6faec39 100644 --- a/framework/source/uielement/langselectionstatusbarcontroller.cxx +++ b/framework/source/uielement/langselectionstatusbarcontroller.cxx @@ -31,6 +31,7 @@ #include <svtools/langtab.hxx> #include <svtools/statusbarcontroller.hxx> #include <sal/types.h> +#include <sal/log.hxx> #include <com/sun/star/awt/MenuItemStyle.hpp> #include <com/sun/star/document/XDocumentLanguages.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index 413d2da27825..a5b77e6e72f3 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -69,6 +69,7 @@ #include <vcl/settings.hxx> #include <vcl/commandinfoprovider.hxx> #include <osl/file.hxx> +#include <sal/log.hxx> #include <svtools/acceleratorexecute.hxx> #include <svtools/miscopt.hxx> #include <uielement/menubarmerger.hxx> diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx index aec066ff33f1..0da3d9b97b74 100644 --- a/framework/source/uielement/popuptoolbarcontroller.cxx +++ b/framework/source/uielement/popuptoolbarcontroller.cxx @@ -34,6 +34,7 @@ #include <vcl/commandinfoprovider.hxx> #include <vcl/svapp.hxx> #include <vcl/toolbox.hxx> +#include <sal/log.hxx> #include <com/sun/star/awt/PopupMenuDirection.hpp> #include <com/sun/star/awt/XPopupMenu.hpp> diff --git a/framework/source/uielement/resourcemenucontroller.cxx b/framework/source/uielement/resourcemenucontroller.cxx index ec8d173ecf08..d50f667adf3a 100644 --- a/framework/source/uielement/resourcemenucontroller.cxx +++ b/framework/source/uielement/resourcemenucontroller.cxx @@ -11,6 +11,7 @@ #include <cppuhelper/implbase.hxx> #include <svtools/popupmenucontrollerbase.hxx> +#include <sal/log.hxx> #include <com/sun/star/embed/VerbAttributes.hpp> #include <com/sun/star/embed/VerbDescriptor.hpp> diff --git a/framework/source/uielement/styletoolbarcontroller.cxx b/framework/source/uielement/styletoolbarcontroller.cxx index 2a078c2a7900..a15abce15d21 100644 --- a/framework/source/uielement/styletoolbarcontroller.cxx +++ b/framework/source/uielement/styletoolbarcontroller.cxx @@ -12,6 +12,7 @@ #include <tools/urlobj.hxx> #include <vcl/svapp.hxx> #include <vcl/toolbox.hxx> +#include <sal/log.hxx> #include <com/sun/star/frame/status/Template.hpp> #include <com/sun/star/lang/DisposedException.hpp> diff --git a/framework/source/uielement/thesaurusmenucontroller.cxx b/framework/source/uielement/thesaurusmenucontroller.cxx index 6ce5bca1d141..de0845440825 100644 --- a/framework/source/uielement/thesaurusmenucontroller.cxx +++ b/framework/source/uielement/thesaurusmenucontroller.cxx @@ -23,6 +23,7 @@ #include <vcl/commandinfoprovider.hxx> #include <vcl/image.hxx> #include <vcl/menu.hxx> +#include <sal/log.hxx> #include <com/sun/star/linguistic2/LinguServiceManager.hpp> diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx index cae4dacd7295..b6fe68308b9b 100644 --- a/framework/source/uielement/toolbarmanager.cxx +++ b/framework/source/uielement/toolbarmanager.cxx @@ -17,6 +17,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <cassert> diff --git a/framework/source/uielement/toolbarmodemenucontroller.cxx b/framework/source/uielement/toolbarmodemenucontroller.cxx index ff8c0596aa98..12d813e9c596 100644 --- a/framework/source/uielement/toolbarmodemenucontroller.cxx +++ b/framework/source/uielement/toolbarmodemenucontroller.cxx @@ -35,6 +35,7 @@ #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <vcl/window.hxx> #include <svtools/menuoptions.hxx> #include <svtools/miscopt.hxx> diff --git a/framework/source/uielement/toolbarsmenucontroller.cxx b/framework/source/uielement/toolbarsmenucontroller.cxx index b9f72476e479..71b6e42b25d2 100644 --- a/framework/source/uielement/toolbarsmenucontroller.cxx +++ b/framework/source/uielement/toolbarsmenucontroller.cxx @@ -48,6 +48,7 @@ #include <vcl/settings.hxx> #include <vcl/commandinfoprovider.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <vcl/window.hxx> #include <svtools/menuoptions.hxx> diff --git a/framework/source/uifactory/uielementfactorymanager.cxx b/framework/source/uifactory/uielementfactorymanager.cxx index f8d56dff3eab..6afbc11e136f 100644 --- a/framework/source/uifactory/uielementfactorymanager.cxx +++ b/framework/source/uifactory/uielementfactorymanager.cxx @@ -37,6 +37,7 @@ #include <com/sun/star/ui/XUIElementFactoryManager.hpp> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <comphelper/propertysequence.hxx> #include <cppuhelper/basemutex.hxx> #include <cppuhelper/compbase.hxx> diff --git a/framework/source/xml/acceleratorconfigurationreader.cxx b/framework/source/xml/acceleratorconfigurationreader.cxx index 88213168e24c..ea945756c6db 100644 --- a/framework/source/xml/acceleratorconfigurationreader.cxx +++ b/framework/source/xml/acceleratorconfigurationreader.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <accelerators/keymapping.hxx> #include <xml/acceleratorconfigurationreader.hxx> diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx index 5abbdc648f41..4392328a08a5 100644 --- a/helpcompiler/source/HelpCompiler.cxx +++ b/helpcompiler/source/HelpCompiler.cxx @@ -30,7 +30,8 @@ #include <libxslt/xsltutils.h> #include <osl/thread.hxx> #include <chrono> -#include<rtl/character.hxx> +#include <rtl/character.hxx> +#include <sal/log.hxx> static void impl_sleep( sal_uInt32 nSec ) { diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index da6365fe4b7c..c6a9d5741f52 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -35,6 +35,7 @@ #include <osl/time.h> #include <rtl/bootstrap.hxx> #include <o3tl/char16_t2wchar_t.hxx> +#include <sal/log.hxx> #include <expat.h> #include <memory> diff --git a/i18nlangtag/qa/cppunit/test_languagetag.cxx b/i18nlangtag/qa/cppunit/test_languagetag.cxx index ff00aba2e772..0cfaf76f484c 100644 --- a/i18nlangtag/qa/cppunit/test_languagetag.cxx +++ b/i18nlangtag/qa/cppunit/test_languagetag.cxx @@ -19,6 +19,7 @@ #include <rtl/ustring.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <osl/file.hxx> #include <com/sun/star/lang/Locale.hpp> diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx index 862b4e24f777..9809edef6777 100644 --- a/i18nlangtag/source/languagetag/languagetag.cxx +++ b/i18nlangtag/source/languagetag/languagetag.cxx @@ -15,6 +15,7 @@ #include <i18nlangtag/mslangid.hxx> #include <rtl/ustrbuf.hxx> #include <rtl/bootstrap.hxx> +#include <sal/log.hxx> #include <osl/file.hxx> #include <osl/mutex.hxx> #include <rtl/instance.hxx> diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx index cdff9c074232..0ff06ae6562b 100644 --- a/idl/source/objects/object.cxx +++ b/idl/source/objects/object.cxx @@ -23,6 +23,7 @@ #include <rtl/strbuf.hxx> #include <osl/diagnose.h> +#include <sal/log.hxx> #include <object.hxx> #include <globals.hxx> diff --git a/include/canvas/canvastools.hxx b/include/canvas/canvastools.hxx index 9de0ac6ebd7a..7416fc31529b 100644 --- a/include/canvas/canvastools.hxx +++ b/include/canvas/canvastools.hxx @@ -28,6 +28,7 @@ #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <osl/diagnose.h> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <string.h> #include <vector> diff --git a/include/comphelper/backupfilehelper.hxx b/include/comphelper/backupfilehelper.hxx index 4ff60102ad17..2ad1e54ae0a3 100644 --- a/include/comphelper/backupfilehelper.hxx +++ b/include/comphelper/backupfilehelper.hxx @@ -14,6 +14,7 @@ #include <comphelper/comphelperdllapi.h> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <osl/file.hxx> #include <memory> #include <set> diff --git a/include/o3tl/deleter.hxx b/include/o3tl/deleter.hxx index af06ffa1267c..4dce1d005f71 100644 --- a/include/o3tl/deleter.hxx +++ b/include/o3tl/deleter.hxx @@ -11,6 +11,7 @@ #define INCLUDED_O3TL_DELETER_HXX #include <com/sun/star/uno/Exception.hpp> +#include <sal/log.hxx> namespace o3tl { diff --git a/include/toolkit/helper/macros.hxx b/include/toolkit/helper/macros.hxx index 5730a7e35d3b..1e8aa7f6e126 100644 --- a/include/toolkit/helper/macros.hxx +++ b/include/toolkit/helper/macros.hxx @@ -22,6 +22,7 @@ #include <string.h> +#include <sal/log.hxx> #include <comphelper/servicehelper.hxx> #define IMPL_XUNOTUNNEL_MINIMAL( ClassName ) \ diff --git a/include/vcl/lazydelete.hxx b/include/vcl/lazydelete.hxx index 930d6c2a4157..403b54abc193 100644 --- a/include/vcl/lazydelete.hxx +++ b/include/vcl/lazydelete.hxx @@ -27,6 +27,7 @@ #include <unordered_map> #include <vector> #include <algorithm> +#include <sal/log.hxx> #include <typeinfo> diff --git a/include/xmloff/fasttokenhandler.hxx b/include/xmloff/fasttokenhandler.hxx index 760360711535..8c926457179d 100644 --- a/include/xmloff/fasttokenhandler.hxx +++ b/include/xmloff/fasttokenhandler.hxx @@ -15,6 +15,7 @@ #include <sax/fastattribs.hxx> #include <xmloff/token/tokens.hxx> #include <rtl/instance.hxx> +#include <sal/log.hxx> #include <xmloff/dllapi.h> namespace xmloff { diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index 9de568b3f0b8..3efcdbea8745 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -18,6 +18,7 @@ */ #include <osl/security.hxx> +#include <sal/log.hxx> #include <uno/mapping.hxx> diff --git a/javaunohelper/source/bootstrap.cxx b/javaunohelper/source/bootstrap.cxx index a517d2a7378c..9cf76b72a03c 100644 --- a/javaunohelper/source/bootstrap.cxx +++ b/javaunohelper/source/bootstrap.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <osl/diagnose.h> diff --git a/jvmfwk/inc/fwkutil.hxx b/jvmfwk/inc/fwkutil.hxx index 8ee28601a110..ce46ef2cadbe 100644 --- a/jvmfwk/inc/fwkutil.hxx +++ b/jvmfwk/inc/fwkutil.hxx @@ -23,6 +23,7 @@ #include <config_folders.h> #include <sal/config.h> +#include <sal/log.hxx> #include <osl/mutex.hxx> #include <rtl/bootstrap.hxx> #include <rtl/instance.hxx> diff --git a/jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx b/jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx index 2960d118cf38..608be1583b8e 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx @@ -24,6 +24,7 @@ #include "otherjre.hxx" #include <osl/thread.h> #include <stdio.h> +#include <sal/log.hxx> namespace jfw_plugin |