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 /sfx2 | |
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 'sfx2')
60 files changed, 60 insertions, 0 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index aa3b29329cef..605de4d76195 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -18,6 +18,7 @@ */ #include <config_features.h> +#include <sal/log.hxx> #include <sfx2/app.hxx> #include <sfx2/frame.hxx> diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index e9a7c76efca6..05d3224c921c 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -51,6 +51,7 @@ #include <vcl/toolbox.hxx> #include <rtl/strbuf.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <vcl/idle.hxx> #include <sfx2/app.hxx> diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx index 31adc8acfc2d..7a572c94236d 100644 --- a/sfx2/source/appl/appdde.cxx +++ b/sfx2/source/appl/appdde.cxx @@ -19,6 +19,7 @@ #include <config_features.h> #include <rtl/character.hxx> +#include <sal/log.hxx> #include <vcl/wrkwin.hxx> #include <svl/rectitem.hxx> #include <svl/eitem.hxx> diff --git a/sfx2/source/appl/appreg.cxx b/sfx2/source/appl/appreg.cxx index 7462a41f40f1..614a92ca79fd 100644 --- a/sfx2/source/appl/appreg.cxx +++ b/sfx2/source/appl/appreg.cxx @@ -18,6 +18,7 @@ */ +#include <sal/log.hxx> #include <vcl/toolbox.hxx> #include <sfx2/app.hxx> diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index 519bcf1d89f5..3b7c6fe3549d 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -72,6 +72,7 @@ #include <vcl/help.hxx> #include <vcl/stdtext.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <osl/file.hxx> #include <vcl/EnumContext.hxx> diff --git a/sfx2/source/appl/appuno.cxx b/sfx2/source/appl/appuno.cxx index bfb3d651458d..2ce0f060184a 100644 --- a/sfx2/source/appl/appuno.cxx +++ b/sfx2/source/appl/appuno.cxx @@ -38,6 +38,7 @@ #include <sfxtypes.hxx> #include <sal/config.h> +#include <sal/log.hxx> #include <basic/basmgr.hxx> #include <basic/sberrors.hxx> #include <basic/sbmeth.hxx> diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx index 7ae103c9c74a..afdf5b21f548 100644 --- a/sfx2/source/appl/childwin.cxx +++ b/sfx2/source/appl/childwin.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/util/XCloseable.hpp> #include <comphelper/string.hxx> #include <cppuhelper/implbase.hxx> +#include <sal/log.hxx> #include <sfx2/childwin.hxx> #include <sfx2/app.hxx> diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx index 31951ce7d9a3..239614444688 100644 --- a/sfx2/source/appl/fileobj.cxx +++ b/sfx2/source/appl/fileobj.cxx @@ -21,6 +21,7 @@ #include <tools/urlobj.hxx> #include <tools/stream.hxx> #include <sot/formats.hxx> +#include <sal/log.hxx> #include <vcl/graphicfilter.hxx> #include <sfx2/lnkbase.hxx> #include <sfx2/app.hxx> diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index eebd30f46362..f72a03149d32 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -30,6 +30,7 @@ #include <srchdlg.hxx> #include <sfx2/sfxhelp.hxx> #include <svtools/treelistentry.hxx> +#include <sal/log.hxx> #include <sfx2/strings.hrc> #include <helpids.h> diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 4e4a09ec1310..c418887f95d5 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -22,6 +22,7 @@ #include <set> #include <algorithm> +#include <sal/log.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/frame/UnknownModuleException.hpp> diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx index ef452582d980..bdde99c9eccc 100644 --- a/sfx2/source/appl/shutdownicon.cxx +++ b/sfx2/source/appl/shutdownicon.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <cassert> diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx index f96968186948..8ff9c621009d 100644 --- a/sfx2/source/appl/shutdowniconw32.cxx +++ b/sfx2/source/appl/shutdowniconw32.cxx @@ -21,6 +21,7 @@ #endif #include <sal/macros.h> +#include <sal/log.hxx> #include <unotools/moduleoptions.hxx> #include <unotools/dynamicmenuoptions.hxx> diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx index 58ec1f7ac2a5..bc005a0da152 100644 --- a/sfx2/source/bastyp/fltfnc.cxx +++ b/sfx2/source/bastyp/fltfnc.cxx @@ -39,6 +39,7 @@ #include <vcl/weld.hxx> #include <rtl/ustring.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <svl/eitem.hxx> #include <svl/intitem.hxx> #include <svl/stritem.hxx> diff --git a/sfx2/source/bastyp/frmhtmlw.cxx b/sfx2/source/bastyp/frmhtmlw.cxx index 970c9ced8938..bfcb263306af 100644 --- a/sfx2/source/bastyp/frmhtmlw.cxx +++ b/sfx2/source/bastyp/frmhtmlw.cxx @@ -20,6 +20,7 @@ #include <svtools/htmlkywd.hxx> #include <rtl/tencinfo.h> +#include <sal/log.hxx> #include <unotools/configmgr.hxx> #include <svl/urihelper.hxx> diff --git a/sfx2/source/bastyp/helper.cxx b/sfx2/source/bastyp/helper.cxx index 549f1d16d87a..2cc201acface 100644 --- a/sfx2/source/bastyp/helper.cxx +++ b/sfx2/source/bastyp/helper.cxx @@ -37,6 +37,7 @@ #include <com/sun/star/io/XInputStream.hpp> #include <unotools/localedatawrapper.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <tools/debug.hxx> #include <tools/urlobj.hxx> diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx index 1b86be6d8ee6..91f24110e3c9 100644 --- a/sfx2/source/bastyp/progress.cxx +++ b/sfx2/source/bastyp/progress.cxx @@ -26,6 +26,7 @@ #include <svl/eitem.hxx> #include <tools/time.hxx> +#include <sal/log.hxx> #include <appdata.hxx> #include <sfx2/request.hxx> diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx index e612c6156fef..72fa2f92652f 100644 --- a/sfx2/source/config/evntconf.cxx +++ b/sfx2/source/config/evntconf.cxx @@ -28,6 +28,7 @@ #include <unotools/securityoptions.hxx> #include <rtl/ustring.h> +#include <sal/log.hxx> #include <com/sun/star/uno/Any.hxx> #include <comphelper/processfactory.hxx> #include <sfx2/evntconf.hxx> diff --git a/sfx2/source/control/ctrlitem.cxx b/sfx2/source/control/ctrlitem.cxx index 32d417c7e5a9..832725089e26 100644 --- a/sfx2/source/control/ctrlitem.cxx +++ b/sfx2/source/control/ctrlitem.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/log.hxx> #include <svl/itempool.hxx> #include <sfx2/ctrlitem.hxx> diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index d3e403d70e9c..f590aae6f8ca 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -38,6 +38,7 @@ #include <comphelper/processfactory.hxx> #include <comphelper/propertyvalue.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <sfx2/app.hxx> #include <sfx2/bindings.hxx> #include <sfx2/childwin.hxx> diff --git a/sfx2/source/control/emojiview.cxx b/sfx2/source/control/emojiview.cxx index b3de652b2c5c..2175d42c37b3 100644 --- a/sfx2/source/control/emojiview.cxx +++ b/sfx2/source/control/emojiview.cxx @@ -13,6 +13,7 @@ #include <tools/urlobj.hxx> #include <vcl/layout.hxx> #include <rtl/bootstrap.hxx> +#include <sal/log.hxx> #include <config_folders.h> #include <officecfg/Office/Common.hxx> #include <comphelper/processfactory.hxx> diff --git a/sfx2/source/control/minfitem.cxx b/sfx2/source/control/minfitem.cxx index f7b04998da92..179e78668b60 100644 --- a/sfx2/source/control/minfitem.cxx +++ b/sfx2/source/control/minfitem.cxx @@ -18,6 +18,7 @@ */ #include <sfx2/minfitem.hxx> +#include <sal/log.hxx> SfxPoolItem* SfxMacroInfoItem::CreateDefault() { SAL_WARN( "sfx", "No SfxMacroInfItem factory available"); return nullptr; } diff --git a/sfx2/source/control/msgpool.cxx b/sfx2/source/control/msgpool.cxx index 5563a300e7d4..f82c47c1ee6c 100644 --- a/sfx2/source/control/msgpool.cxx +++ b/sfx2/source/control/msgpool.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/log.hxx> #include <tools/stream.hxx> #include <svl/style.hxx> diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx index cecebe60a496..d8d2a833e9c6 100644 --- a/sfx2/source/control/recentdocsview.cxx +++ b/sfx2/source/control/recentdocsview.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/log.hxx> #include <comphelper/base64.hxx> #include <sax/tools/converter.hxx> #include <sfx2/recentdocsview.hxx> diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx index 42fe49edf3ea..ece383994c26 100644 --- a/sfx2/source/control/request.cxx +++ b/sfx2/source/control/request.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/util/XURLTransformer.hpp> #include <com/sun/star/frame/XDispatchRecorderSupplier.hpp> #include <svl/itemiter.hxx> +#include <sal/log.hxx> #include <svl/itempool.hxx> #include <itemdel.hxx> diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx index 5cd33e453a58..81a5021c2766 100644 --- a/sfx2/source/control/thumbnailview.cxx +++ b/sfx2/source/control/thumbnailview.cxx @@ -30,6 +30,7 @@ #include <drawinglayer/processor2d/baseprocessor2d.hxx> #include <drawinglayer/processor2d/processorfromoutputdevice.hxx> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <svtools/optionsdrawinglayer.hxx> #include <unotools/ucbstreamhelper.hxx> #include <vcl/decoview.hxx> diff --git a/sfx2/source/control/thumbnailviewacc.cxx b/sfx2/source/control/thumbnailviewacc.cxx index 04a7435ccb54..01451c3d47f6 100644 --- a/sfx2/source/control/thumbnailviewacc.cxx +++ b/sfx2/source/control/thumbnailviewacc.cxx @@ -25,6 +25,7 @@ #include <unotools/accessiblestatesethelper.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> +#include <sal/log.hxx> #include <com/sun/star/accessibility/AccessibleEventId.hpp> #include <com/sun/star/accessibility/AccessibleRole.hpp> diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 17700cb67628..3c911017306e 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -20,6 +20,7 @@ #include "backingwindow.hxx" #include <sfx2/inputdlg.hxx> +#include <sal/log.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> #include <vcl/virdev.hxx> diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index ba621833781e..96cf828f4042 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -31,6 +31,7 @@ #include <svtools/controldims.hxx> #include <svtools/imagemgr.hxx> #include <toolkit/helper/vclunohelper.hxx> +#include <sal/log.hxx> #include <memory> diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index 8b73bd03d52f..b5f132aae9fe 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -91,6 +91,7 @@ #include <helpids.h> #include <sfx2/strings.hrc> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <comphelper/sequence.hxx> #ifdef UNX diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx index 471bf35ee942..ba4aea583691 100644 --- a/sfx2/source/dialog/filtergrouping.cxx +++ b/sfx2/source/dialog/filtergrouping.cxx @@ -25,6 +25,7 @@ #include <sfx2/sfxresid.hxx> #include <osl/thread.h> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <com/sun/star/ui/dialogs/XFilterGroupManager.hpp> #include <com/sun/star/beans/StringPair.hpp> #include <com/sun/star/uno/Sequence.hxx> diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx index 12b3e74fbe34..ac0530433bdf 100644 --- a/sfx2/source/dialog/splitwin.cxx +++ b/sfx2/source/dialog/splitwin.cxx @@ -25,6 +25,7 @@ #include <vcl/wrkwin.hxx> #include <unotools/viewoptions.hxx> +#include <sal/log.hxx> #include <vcl/menu.hxx> #include <vcl/timer.hxx> diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index c337e0b8d465..0ac617cd7a84 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -38,6 +38,7 @@ #include <unotools/viewoptions.hxx> #include <vcl/builder.hxx> #include <vcl/IDialogRenderable.hxx> +#include <sal/log.hxx> #include <sfx2/strings.hrc> #include <helpids.h> diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index 4b68f20dd4e6..e72d920bd8c0 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -35,6 +35,7 @@ #include <com/sun/star/frame/UnknownModuleException.hpp> #include <officecfg/Office/Common.hxx> +#include <sal/log.hxx> #include <sfx2/sfxhelp.hxx> #include <sfx2/app.hxx> #include <sfx2/dispatch.hxx> diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx index b24edf6e184c..6ef5a029b3d6 100644 --- a/sfx2/source/doc/DocumentMetadataAccess.cxx +++ b/sfx2/source/doc/DocumentMetadataAccess.cxx @@ -39,6 +39,7 @@ #include <rtl/ustrbuf.hxx> #include <rtl/uri.hxx> #include <rtl/bootstrap.hxx> +#include <sal/log.hxx> #include <comphelper/interaction.hxx> #include <unotools/mediadescriptor.hxx> diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx index 11f43e088e83..55d73c46bbb9 100644 --- a/sfx2/source/doc/Metadatable.cxx +++ b/sfx2/source/doc/Metadatable.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <osl/diagnose.h> #include <sfx2/Metadatable.hxx> diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx index f61f2a09e682..6de2cf153da3 100644 --- a/sfx2/source/doc/SfxDocumentMetaData.cxx +++ b/sfx2/source/doc/SfxDocumentMetaData.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <cppuhelper/compbase.hxx> #include <cppuhelper/exc_hlp.hxx> diff --git a/sfx2/source/doc/docfac.cxx b/sfx2/source/doc/docfac.cxx index bba209e2f960..94205215ea51 100644 --- a/sfx2/source/doc/docfac.cxx +++ b/sfx2/source/doc/docfac.cxx @@ -44,6 +44,7 @@ #include <osl/security.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <tools/globname.hxx> #include <assert.h> diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index a7ff1009de71..d532ede31a0b 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -93,6 +93,7 @@ #include <svl/intitem.hxx> #include <svtools/svparser.hxx> #include <cppuhelper/weakref.hxx> +#include <sal/log.hxx> #include <unotools/streamwrap.hxx> diff --git a/sfx2/source/doc/docinf.cxx b/sfx2/source/doc/docinf.cxx index 41d4c380254f..37c20eaf0ebb 100644 --- a/sfx2/source/doc/docinf.cxx +++ b/sfx2/source/doc/docinf.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/document/XCompatWriterDocProperties.hpp> #include <com/sun/star/uno/Exception.hpp> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <tools/debug.hxx> #include <comphelper/string.hxx> #include <sot/storage.hxx> diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index c4b00b5229b5..37c54bdbf397 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/uno/Any.h> #include <osl/mutex.hxx> #include <osl/thread.hxx> +#include <sal/log.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index fe2cea50168b..b30844eb346b 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -22,6 +22,7 @@ #include <tools/urlobj.hxx> #include <rtl/ustring.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <vcl/svapp.hxx> #include <vcl/wrkwin.hxx> #include <unotools/pathoptions.hxx> diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index e01b51576d98..f4427d0f2035 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -52,6 +52,7 @@ #include <guisaveas.hxx> +#include <sal/log.hxx> #include <unotools/pathoptions.hxx> #include <svl/itemset.hxx> #include <svl/eitem.hxx> diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index 37326b7e6115..d163a5dcbf42 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -42,6 +42,7 @@ #include <tools/datetime.hxx> #include <rtl/uri.hxx> #include <math.h> +#include <sal/log.hxx> #include <unotools/saveopt.hxx> #include <unotools/useroptions.hxx> diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index 01064386a81f..202790988e62 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -27,6 +27,7 @@ #include <svl/intitem.hxx> #include <svtools/svparser.hxx> #include <cppuhelper/exc_hlp.hxx> +#include <sal/log.hxx> #include <com/sun/star/container/XChild.hpp> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index 69b933c7fbdc..22e61ec98aad 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -53,6 +53,7 @@ #include <vcl/wrkwin.hxx> #include <svtools/sfxecode.hxx> #include <svtools/ehdl.hxx> +#include <sal/log.hxx> #include <comphelper/string.hxx> #include <basic/sbx.hxx> diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 26d0de770931..2779a5a9b9d9 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -20,6 +20,7 @@ #include <config_features.h> #include <sal/config.h> +#include <sal/log.hxx> #include <cassert> diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index f5fab3249fc0..6c557f541ea5 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -34,6 +34,7 @@ #include <com/sun/star/frame/XTitle.hpp> #include <osl/file.hxx> #include <rtl/instance.hxx> +#include <sal/log.hxx> #include <vcl/weld.hxx> #include <vcl/wrkwin.hxx> #include <vcl/svapp.hxx> diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index bdbf7d8dac65..2ba0b2f1be4c 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -26,6 +26,7 @@ #include <tools/datetime.hxx> #include <rtl/tencinfo.h> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #define STREAM_BUFFER_SIZE 2048 diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index e9b12b34621a..09fa01d8f6de 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -83,6 +83,7 @@ #include <svtools/ehdl.hxx> #include <svtools/sfxecode.hxx> #include <rtl/strbuf.hxx> +#include <sal/log.hxx> #include <framework/configimporter.hxx> #include <framework/interaction.hxx> #include <framework/titlehelper.hxx> diff --git a/sfx2/source/notify/eventsupplier.cxx b/sfx2/source/notify/eventsupplier.cxx index 78667a1d8036..261ce2db54aa 100644 --- a/sfx2/source/notify/eventsupplier.cxx +++ b/sfx2/source/notify/eventsupplier.cxx @@ -31,6 +31,7 @@ #include <sfx2/sfxbasemodel.hxx> #include <sfx2/evntconf.hxx> #include <unotools/eventcfg.hxx> +#include <sal/log.hxx> #include <unotools/securityoptions.hxx> #include <comphelper/processfactory.hxx> diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx index ca6dd192f581..ff481013bfa8 100644 --- a/sfx2/source/sidebar/Deck.cxx +++ b/sfx2/source/sidebar/Deck.cxx @@ -31,6 +31,7 @@ #include <vcl/dockwin.hxx> #include <vcl/scrbar.hxx> #include <tools/svborder.hxx> +#include <sal/log.hxx> using namespace css; using namespace css::uno; diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx index 079ae1bf4ce3..4596fef559b4 100644 --- a/sfx2/source/sidebar/ResourceManager.cxx +++ b/sfx2/source/sidebar/ResourceManager.cxx @@ -29,6 +29,7 @@ #include <rtl/ustrbuf.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <com/sun/star/frame/ModuleManager.hpp> #include <com/sun/star/ui/XUpdateModel.hpp> diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index b7b604869213..ba7b12167a30 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -45,6 +45,7 @@ #include <comphelper/processfactory.hxx> #include <comphelper/namedvaluecollection.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/ui/ContextChangeEventMultiplexer.hpp> diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx index 49020b28e086..d2e6f02d88fb 100644 --- a/sfx2/source/view/classificationhelper.cxx +++ b/sfx2/source/view/classificationhelper.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/xml/sax/SAXParseException.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> +#include <sal/log.hxx> #include <sfx2/infobar.hxx> #include <sfx2/objsh.hxx> #include <o3tl/make_unique.hxx> diff --git a/sfx2/source/view/frame2.cxx b/sfx2/source/view/frame2.cxx index 0f6c1af16799..8e62ca2c4a38 100644 --- a/sfx2/source/view/frame2.cxx +++ b/sfx2/source/view/frame2.cxx @@ -49,6 +49,7 @@ #include <toolkit/helper/vclunohelper.hxx> #include <tools/diagnose_ex.h> #include <vcl/syswin.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sfx2/source/view/frmload.cxx b/sfx2/source/view/frmload.cxx index 4b67458c34bc..dd65222696ab 100644 --- a/sfx2/source/view/frmload.cxx +++ b/sfx2/source/view/frmload.cxx @@ -58,6 +58,7 @@ #include <framework/interaction.hxx> #include <rtl/ref.hxx> #include <rtl/ustring.h> +#include <sal/log.hxx> #include <sot/storinfo.hxx> #include <svtools/ehdl.hxx> #include <svl/eitem.hxx> diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index a02377b05428..650dd05a7989 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -53,6 +53,7 @@ #include <guisaveas.hxx> #include <cppuhelper/implbase.hxx> #include <svtools/ehdl.hxx> +#include <sal/log.hxx> #include <vcl/timer.hxx> #include <vcl/window.hxx> diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 24f25b86f663..645ed2668094 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -66,6 +66,7 @@ #include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/task/InteractionHandler.hpp> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <unotools/ucbhelper.hxx> #include <comphelper/lok.hxx> diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx index 19534cb129e1..2d29c7b378e6 100644 --- a/sfx2/source/view/viewprn.cxx +++ b/sfx2/source/view/viewprn.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/document/XDocumentProperties.hpp> #include <com/sun/star/view/XRenderable.hpp> +#include <sal/log.hxx> #include <svl/itempool.hxx> #include <vcl/weld.hxx> #include <svtools/prnsetup.hxx> diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index fe494ae1c522..cb0bdebc7cb3 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -19,6 +19,7 @@ #include <config_features.h> +#include <sal/log.hxx> #include <svl/stritem.hxx> #include <svl/eitem.hxx> #include <svl/whiter.hxx> |