diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2022-01-16 15:29:00 +0100 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2022-01-17 01:33:35 +0100 |
commit | e3206e67402f623bac17ca94a20dfb45391dcb48 (patch) | |
tree | 9760a8e135bd39a916a1931445a04df26c1fe324 /editeng | |
parent | 52443996eff721e612ac4afc1eb1a53bb8a3e06f (diff) |
Recheck modules [e-f]* with IWYU
See tdf#42949 for motivation
Change-Id: I49a3ce10dee4b03f99156f5b641f69448e1d5617
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128479
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/IwyuFilter_editeng.yaml | 3 | ||||
-rw-r--r-- | editeng/inc/strings.hrc | 2 | ||||
-rw-r--r-- | editeng/qa/unit/core-test.cxx | 3 | ||||
-rw-r--r-- | editeng/source/editeng/editobj.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editview.cxx | 4 | ||||
-rw-r--r-- | editeng/source/editeng/eerdll.cxx | 1 | ||||
-rw-r--r-- | editeng/source/editeng/impedit4.cxx | 3 | ||||
-rw-r--r-- | editeng/source/items/numitem.cxx | 1 | ||||
-rw-r--r-- | editeng/source/items/xmlcnitm.cxx | 1 | ||||
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 1 | ||||
-rw-r--r-- | editeng/source/uno/unofored_internal.hxx | 1 | ||||
-rw-r--r-- | editeng/source/uno/unonrule.cxx | 1 |
12 files changed, 7 insertions, 16 deletions
diff --git a/editeng/IwyuFilter_editeng.yaml b/editeng/IwyuFilter_editeng.yaml index 45f989e4fb51..a75d143baf15 100644 --- a/editeng/IwyuFilter_editeng.yaml +++ b/editeng/IwyuFilter_editeng.yaml @@ -17,6 +17,9 @@ excludelist: - com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp - com/sun/star/accessibility/XAccessible.hpp - com/sun/star/lang/XServiceInfo.hpp + editeng/source/editeng/impedit2.cxx: + # Needed for ValueRestorationGuard + - comphelper/flagguard.hxx editeng/source/items/CustomPropertyField.cxx: # Actually used - com/sun/star/document/XDocumentProperties.hpp diff --git a/editeng/inc/strings.hrc b/editeng/inc/strings.hrc index a7195a1d2e4e..b527e390d100 100644 --- a/editeng/inc/strings.hrc +++ b/editeng/inc/strings.hrc @@ -9,6 +9,8 @@ #pragma once +#include <unotools/resmgr.hxx> + #define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String)) const TranslateId RID_SVXITEMS_HORJUST[] = diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx index 7c76acb3c952..896fa59810eb 100644 --- a/editeng/qa/unit/core-test.cxx +++ b/editeng/qa/unit/core-test.cxx @@ -7,7 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <config_features.h> #include <config_fonts.h> #include <test/bootstrapfixture.hxx> @@ -32,8 +31,6 @@ #include <svl/srchitem.hxx> #include <editeng/fontitem.hxx> #include <editeng/fhgtitem.hxx> -#include <unotools/transliterationwrapper.hxx> -#include <comphelper/processfactory.hxx> #include <com/sun/star/text/textfield/Type.hpp> diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index 4e29bf941e5f..ce39e37d3d83 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -22,12 +22,10 @@ #include <o3tl/safeint.hxx> #include <sal/log.hxx> -#include <editeng/fieldupdater.hxx> #include <editeng/macros.hxx> #include <editeng/section.hxx> #include "editobj2.hxx" #include <editeng/editdata.hxx> -#include <editattr.hxx> #include <editeng/editeng.hxx> #include <editeng/flditem.hxx> diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index fe6711ff6eaf..6e3fe0437568 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -19,12 +19,10 @@ #include <memory> -#include <sal/macros.h> #include <vcl/image.hxx> #include <com/sun/star/i18n/WordType.hpp> #include <com/sun/star/i18n/ScriptType.hpp> -#include <vcl/metric.hxx> #include <i18nlangtag/languagetag.hxx> #include <i18nlangtag/mslangid.hxx> @@ -50,7 +48,6 @@ #include <vcl/window.hxx> #include <editeng/acorrcfg.hxx> #include <editeng/unolingu.hxx> -#include <editeng/fontitem.hxx> #include <unotools/lingucfg.hxx> #include <com/sun/star/frame/XStorable.hpp> @@ -64,7 +61,6 @@ #include <sfx2/viewsh.hxx> #include <osl/diagnose.h> #include <boost/property_tree/json_parser.hpp> -#include <sfx2/dispatch.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/editeng/source/editeng/eerdll.cxx b/editeng/source/editeng/eerdll.cxx index 2ec4519b6446..0002d68caafb 100644 --- a/editeng/source/editeng/eerdll.cxx +++ b/editeng/source/editeng/eerdll.cxx @@ -35,7 +35,6 @@ #include <editeng/scriptspaceitem.hxx> #include <editeng/hngpnctitem.hxx> #include <editeng/forbiddenruleitem.hxx> -#include <svl/itempool.hxx> #include <svl/grabbagitem.hxx> #include <vcl/svapp.hxx> #include <vcl/virdev.hxx> diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 8c2d054e72ee..98805cfc522a 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -18,8 +18,6 @@ */ -#include <vcl/svapp.hxx> - #include <svl/srchitem.hxx> #include <editeng/lspcitem.hxx> #include <editeng/adjustitem.hxx> @@ -35,6 +33,7 @@ #include <sal/log.hxx> #include <o3tl/safeint.hxx> #include <osl/diagnose.h> +#include <osl/thread.h> #include <editxml.hxx> diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 7d897595b0ef..6823a6616d03 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -45,7 +45,6 @@ #include <tools/stream.hxx> #include <tools/debug.hxx> #include <tools/GenericTypeSerializer.hxx> -#include <tools/UnitConversion.hxx> #include <unotools/configmgr.hxx> #include <libxml/xmlwriter.h> #include <editeng/unonrule.hxx> diff --git a/editeng/source/items/xmlcnitm.cxx b/editeng/source/items/xmlcnitm.cxx index 7bcfe11f9a55..50733ade4dd4 100644 --- a/editeng/source/items/xmlcnitm.cxx +++ b/editeng/source/items/xmlcnitm.cxx @@ -26,7 +26,6 @@ #include <xmloff/xmlcnimp.hxx> #include <xmloff/unoatrcn.hxx> #include <editeng/xmlcnitm.hxx> -#include <tools/solar.h> using namespace ::com::sun::star::uno; using namespace ::com::sun::star::container; diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index eec000787a6f..6bb39831bf01 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -43,7 +43,6 @@ #include <unotools/transliterationwrapper.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/storagehelper.hxx> -#include <comphelper/string.hxx> #include <editeng/editids.hrc> #include <sot/storage.hxx> #include <editeng/udlnitem.hxx> diff --git a/editeng/source/uno/unofored_internal.hxx b/editeng/source/uno/unofored_internal.hxx index f58b8aa98b55..cadb19415951 100644 --- a/editeng/source/uno/unofored_internal.hxx +++ b/editeng/source/uno/unofored_internal.hxx @@ -20,6 +20,7 @@ #pragma once #include <editeng/editeng.hxx> +#include <svl/poolitem.hxx> SfxItemState GetSvxEditEngineItemState( EditEngine const & rEditEngine, const ESelection& rSel, sal_uInt16 nWhich ); diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx index d850f70265f6..399572a2eaca 100644 --- a/editeng/source/uno/unonrule.cxx +++ b/editeng/source/uno/unonrule.cxx @@ -41,7 +41,6 @@ #include <editeng/unofdesc.hxx> #include <editeng/unonrule.hxx> #include <editeng/editids.hrc> -#include <editeng/numdef.hxx> #include <o3tl/enumarray.hxx> #include <o3tl/temporary.hxx> #include <memory> |