diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-14 00:48:37 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-16 12:24:49 +0200 |
commit | dfaa7d4d2829e4b30af4fe48c31f1b4b94b22259 (patch) | |
tree | 5f681a2a5286de5cb83c692ebebc6cba45124de2 /cui | |
parent | a605762c579f2d9ee4ef8e5c1c0d4b603e0ce9bb (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 connectivity to cui
Change-Id: I9903c10d0a04bbeb93d0f776d1d252b152459499
Reviewed-on: https://gerrit.libreoffice.org/57408
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'cui')
35 files changed, 35 insertions, 0 deletions
diff --git a/cui/source/customize/CommandCategoryListBox.cxx b/cui/source/customize/CommandCategoryListBox.cxx index e68ad9ec0211..523008fb8287 100644 --- a/cui/source/customize/CommandCategoryListBox.cxx +++ b/cui/source/customize/CommandCategoryListBox.cxx @@ -42,6 +42,7 @@ #include <comphelper/sequenceashashmap.hxx> #include <o3tl/make_unique.hxx> #include <i18nutil/searchopt.hxx> +#include <sal/log.hxx> #include <cfg.hxx> //for SaveInData diff --git a/cui/source/customize/SvxMenuConfigPage.cxx b/cui/source/customize/SvxMenuConfigPage.cxx index 826814b9248c..691a18d37a3b 100644 --- a/cui/source/customize/SvxMenuConfigPage.cxx +++ b/cui/source/customize/SvxMenuConfigPage.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <cassert> #include <stdlib.h> diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx b/cui/source/customize/SvxToolbarConfigPage.cxx index 4e66f814cae7..bba9b5c844d0 100644 --- a/cui/source/customize/SvxToolbarConfigPage.cxx +++ b/cui/source/customize/SvxToolbarConfigPage.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <cassert> #include <stdlib.h> diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 44784ae283f5..466b2caa877d 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <cassert> #include <stdlib.h> diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index 1907bae13dee..4e89b9c7a2d4 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -54,6 +54,7 @@ #include <svtools/imagemgr.hxx> #include <svtools/treelistentry.hxx> #include <rtl/ustrbuf.hxx> +#include <sal/log.hxx> #include <unotools/configmgr.hxx> #include <dialmgr.hxx> #include <svl/stritem.hxx> diff --git a/cui/source/dialogs/SignSignatureLineDialog.cxx b/cui/source/dialogs/SignSignatureLineDialog.cxx index 6566d6f66f41..29b26f4f645e 100644 --- a/cui/source/dialogs/SignSignatureLineDialog.cxx +++ b/cui/source/dialogs/SignSignatureLineDialog.cxx @@ -10,6 +10,7 @@ #include <SignSignatureLineDialog.hxx> #include <sal/types.h> +#include <sal/log.hxx> #include <dialmgr.hxx> #include <strings.hrc> diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index b3672ff1c727..073095d01c5f 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -54,6 +54,7 @@ #include <treeopt.hxx> #include <svtools/langtab.hxx> #include <cppuhelper/exc_hlp.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index df8a0b131319..152b49ec9d1f 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -19,6 +19,7 @@ #include <config_features.h> #include <osl/process.h> +#include <sal/log.hxx> #include <vcl/layout.hxx> #include <vcl/weld.hxx> #include <vcl/svapp.hxx> diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx index f674c71488a0..bb7c12b627ef 100644 --- a/cui/source/dialogs/hangulhanjadlg.cxx +++ b/cui/source/dialogs/hangulhanjadlg.cxx @@ -24,6 +24,7 @@ #include <strings.hrc> #include <algorithm> +#include <sal/log.hxx> #include <vcl/controllayout.hxx> #include <vcl/builderfactory.hxx> #include <vcl/decoview.hxx> diff --git a/cui/source/dialogs/hyphen.cxx b/cui/source/dialogs/hyphen.cxx index abc8b1bc23c2..c055268dd9f3 100644 --- a/cui/source/dialogs/hyphen.cxx +++ b/cui/source/dialogs/hyphen.cxx @@ -25,6 +25,7 @@ #include <svtools/langtab.hxx> #include <svx/dlgutil.hxx> #include <vcl/builderfactory.hxx> +#include <sal/log.hxx> #define HYPH_POS_CHAR '=' diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index eccfd85a2fc2..bb9b8eadcb97 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -22,6 +22,7 @@ #include <iconcdlg.hxx> #include <cuihyperdlg.hxx> +#include <sal/log.hxx> #include <unotools/viewoptions.hxx> #include <svtools/apearcfg.hxx> #include <vcl/mnemonic.hxx> diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx index ac5e7f096773..54fb29dabf54 100644 --- a/cui/source/dialogs/insdlg.cxx +++ b/cui/source/dialogs/insdlg.cxx @@ -38,6 +38,7 @@ #include <svtools/strings.hrc> #include <svtools/svtresid.hxx> +#include <sal/log.hxx> #include <tools/urlobj.hxx> #include <tools/debug.hxx> #include <svl/urihelper.hxx> diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx index dfa899f3feb3..2eb32ff94025 100644 --- a/cui/source/dialogs/linkdlg.cxx +++ b/cui/source/dialogs/linkdlg.cxx @@ -18,6 +18,7 @@ */ #include <linkdlg.hxx> +#include <sal/log.hxx> #include <vcl/svapp.hxx> #include <tools/urlobj.hxx> diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index 12ff8b2236ef..18ee71314a1f 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -20,6 +20,7 @@ #include <memory> #include <utility> +#include <sal/log.hxx> #include <sfx2/objsh.hxx> #include <vcl/svapp.hxx> #include <vcl/weld.hxx> diff --git a/cui/source/dialogs/srchxtra.cxx b/cui/source/dialogs/srchxtra.cxx index 9e4ba7cfbfb4..0f2907ce02dc 100644 --- a/cui/source/dialogs/srchxtra.cxx +++ b/cui/source/dialogs/srchxtra.cxx @@ -18,6 +18,7 @@ */ #include <srchxtra.hxx> +#include <sal/log.hxx> #include <svl/cjkoptions.hxx> #include <svl/whiter.hxx> #include <sfx2/objsh.hxx> diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 05c404a88b5e..ff973f402668 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -24,6 +24,7 @@ #include <sfx2/basedlgs.hxx> #include <sfx2/pageids.hxx> #include <sfx2/request.hxx> +#include <sal/log.hxx> #include <svx/dialogs.hrc> #include <numfmt.hxx> #include <splitcelldlg.hxx> diff --git a/cui/source/options/certpath.cxx b/cui/source/options/certpath.cxx index 59d0d8834b0c..a315222f45cf 100644 --- a/cui/source/options/certpath.cxx +++ b/cui/source/options/certpath.cxx @@ -11,6 +11,7 @@ #include <osl/file.hxx> #include <osl/security.hxx> #include <osl/thread.h> +#include <sal/log.hxx> #include <svtools/treelistentry.hxx> #include <unotools/securityoptions.hxx> #include "certpath.hxx" diff --git a/cui/source/options/cfgchart.cxx b/cui/source/options/cfgchart.cxx index 7cbd051e9130..8ac51f0ba678 100644 --- a/cui/source/options/cfgchart.cxx +++ b/cui/source/options/cfgchart.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/uno/Sequence.hxx> #include <tools/stream.hxx> +#include <sal/log.hxx> #include "cfgchart.hxx" #include <dialmgr.hxx> #include <strings.hrc> diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index cb4cd323a4fc..54348cbe63f1 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -29,6 +29,7 @@ #include <com/sun/star/util/SearchAlgorithms2.hpp> #include <unotools/textsearch.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> #include <memory> #include <vector> diff --git a/cui/source/options/optctl.cxx b/cui/source/options/optctl.cxx index a6bf4d835a2e..18c23123df74 100644 --- a/cui/source/options/optctl.cxx +++ b/cui/source/options/optctl.cxx @@ -19,6 +19,7 @@ #include "optctl.hxx" #include <svl/ctloptions.hxx> +#include <sal/log.hxx> // class SvxCTLOptionsPage ----------------------------------------------------- diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index e4255ee55bf6..9c6bec7b1c0d 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -64,6 +64,7 @@ #include <unotools/saveopt.hxx> #include <unotools/searchopt.hxx> #include <sal/macros.h> +#include <sal/log.hxx> #include <officecfg/Office/Common.hxx> #include <officecfg/Setup.hxx> #include <comphelper/configuration.hxx> diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index 0971cb0b68e7..8124c7d8998c 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -72,6 +72,7 @@ #endif #include <sal/types.h> #include <sal/macros.h> +#include <sal/log.hxx> #include <rtl/ustring.hxx> #include <osl/file.hxx> #include <osl/process.h> diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index 527c8ee8985c..dd76e58280d0 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -18,6 +18,7 @@ */ #include <sal/config.h> +#include <sal/log.hxx> #include <memory> #include <vector> diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index 8b62b3f5b13b..a746afe5117f 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -51,6 +51,7 @@ #include <svl/intitem.hxx> #include <sfx2/viewfrm.hxx> #include <vcl/svapp.hxx> +#include <sal/log.hxx> #include <svx/svxdlg.hxx> #include <editeng/optitems.hxx> diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx index 7b3ebad23a64..cca312d78608 100644 --- a/cui/source/options/optpath.cxx +++ b/cui/source/options/optpath.cxx @@ -51,6 +51,7 @@ #include "optHeaderTabListbox.hxx" #include <vcl/help.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> using namespace css; using namespace css::beans; diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx index 6091c2e84eda..55e3c4eef9da 100644 --- a/cui/source/options/optsave.cxx +++ b/cui/source/options/optsave.cxx @@ -35,6 +35,7 @@ #include <vcl/fixed.hxx> #include <unotools/configitem.hxx> #include <unotools/optionsdlg.hxx> +#include <sal/log.hxx> #include <sfx2/fcontnr.hxx> diff --git a/cui/source/options/optupdt.cxx b/cui/source/options/optupdt.cxx index 889c743b31b7..a42f9050220a 100644 --- a/cui/source/options/optupdt.cxx +++ b/cui/source/options/optupdt.cxx @@ -39,6 +39,7 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> #include <osl/file.hxx> #include <osl/security.hxx> +#include <sal/log.hxx> using namespace ::css; diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 1a1b0671fa1c..63df32ae9484 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -106,6 +106,7 @@ #include <vcl/waitobj.hxx> #include <vcl/settings.hxx> #include <svtools/treelistentry.hxx> +#include <sal/log.hxx> #ifdef LINUX #include <sys/stat.h> diff --git a/cui/source/options/tsaurls.cxx b/cui/source/options/tsaurls.cxx index df496a095585..f439986c6159 100644 --- a/cui/source/options/tsaurls.cxx +++ b/cui/source/options/tsaurls.cxx @@ -10,6 +10,7 @@ #include <officecfg/Office/Common.hxx> #include <svx/svxdlg.hxx> #include <comphelper/sequence.hxx> +#include <sal/log.hxx> #include "tsaurls.hxx" diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 13dbe1d2524a..83e3dc17e6e0 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -70,6 +70,7 @@ #include <sfx2/request.hxx> #include <svx/flagsdef.hxx> #include <FontFeaturesDialog.hxx> +#include <sal/log.hxx> using namespace ::com::sun::star; diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 60642f9d555f..abb258b84ef0 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -76,6 +76,7 @@ #include <unotools/ucbstreamhelper.hxx> #include <com/sun/star/ucb/SimpleFileAccess.hpp> #include <rtl/ustring.h> +#include <sal/log.hxx> #include <vcl/cvtgrf.hxx> #include <vcl/graphicfilter.hxx> #include <svx/SvxNumOptionsTabPageHelper.hxx> diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index 201634ecc1f0..83c072503a50 100644 --- a/cui/source/tabpages/tpbitmap.cxx +++ b/cui/source/tabpages/tpbitmap.cxx @@ -43,6 +43,7 @@ #include <sfx2/viewsh.hxx> #include <sfx2/dialoghelper.hxx> #include <o3tl/make_unique.hxx> +#include <sal/log.hxx> using namespace com::sun::star; diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx index fb12fddfdbdf..8e3e9d3d579a 100644 --- a/cui/source/tabpages/tpgradnt.cxx +++ b/cui/source/tabpages/tpgradnt.cxx @@ -41,6 +41,7 @@ #include <svx/dialmgr.hxx> #include <svx/dialogs.hrc> #include <svx/strings.hrc> +#include <sal/log.hxx> #include <o3tl/make_unique.hxx> diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx index e103b509417e..a51ceabe8378 100644 --- a/cui/source/tabpages/tphatch.cxx +++ b/cui/source/tabpages/tphatch.cxx @@ -43,6 +43,7 @@ #include <svx/dialmgr.hxx> #include <svx/dialogs.hrc> #include <svx/strings.hrc> +#include <sal/log.hxx> #include <o3tl/make_unique.hxx> diff --git a/cui/source/tabpages/tppattern.cxx b/cui/source/tabpages/tppattern.cxx index 712bef2dc03e..6ac3c4c19650 100644 --- a/cui/source/tabpages/tppattern.cxx +++ b/cui/source/tabpages/tppattern.cxx @@ -46,6 +46,7 @@ #include <svx/svxdlg.hxx> #include <dialmgr.hxx> #include <sfx2/opengrf.hxx> +#include <sal/log.hxx> #include <o3tl/make_unique.hxx> |