office-gobmx/sw/IwyuFilter_sw.yaml
Gabor Kelemen 970751c818 tdf#42949 Fix IWYU warnings in sw/inc/*
New IWYU and recent developments in f-u-i helped to identify
some non self contained files and mostly those were fixed.

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: I21550193293b987311c56d8f7c9c3145547d2c6d
Reviewed-on: https://gerrit.libreoffice.org/74909
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-07-05 09:13:08 +02:00

452 lines
18 KiB
YAML

---
assumeFilename: sw/source/core/doc/docnew.cxx
blacklist:
sw/inc/extinput.hxx:
- vector
sw/inc/fmtmeta.hxx:
- vector
sw/inc/istyleaccess.hxx:
- vector
sw/inc/shellres.hxx:
- memory
sw/inc/docary.hxx:
# Complete type is needed here:
# fldbas.hxx brings in SwTOXType, which is needed by SwTOXTypes, as SwVectorModifyBase's dtor wants to delete it
- fldbas.hxx
# numrule.hxx brings in SwNumRule, which is needed by SwNumRuleTable, as SwVectorModifyBase's dtor wants to delete it
- numrule.hxx
# tox.hxx brings in SwTOXType, which is needed by SwTOXTypes, as SwVectorModifyBase's dtor wants to delete it
- tox.hxx
# section.hxx brings in SwSectionFormat, which is needed by SwSectionFormats, as SwFormatsModifyBase's type param has to be complete
- section.hxx
sw/inc/docfac.hxx:
# Complete type is needed by rtl::Reference<SwDoc>.
- doc.hxx
sw/inc/swmodule.hxx:
# Needed for macro #define
- sfx2/app.hxx
sw/inc/swtypes.hxx:
# Needed for macro #define
- com/sun/star/i18n/CollatorOptions.hpp
sw/inc/IDocumentLinksAdministration.hxx:
- sal/types.h
sw/inc/pagedesc.hxx:
- boost/multi_index/identity.hpp
sw/inc/rdfhelper.hxx:
- com/sun/star/uno/Reference.h
sw/inc/ring.hxx:
- utility
sw/inc/shellid.hxx:
- sfx2/shell.hxx
sw/inc/breakit.hxx:
# std::unique_ptr dtor requires complete type
- com/sun/star/i18n/ForbiddenCharacters.hpp
sw/inc/dbmgr.hxx:
# uno::Sequence ctor needs the complete type
- com/sun/star/beans/PropertyValue.hpp
sw/inc/dlelstnr.hxx:
# base class has to be a complete type
- com/sun/star/frame/XTerminateListener.hpp
- com/sun/star/linguistic2/XLinguServiceEventListener.hpp
sw/inc/finalthreadmanager.hxx:
# base class has to be a complete type
- com/sun/star/frame/XTerminateListener2.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/util/XJobManager.hpp
sw/inc/splargs.hxx:
# inline dtor, complete type is needed
- com/sun/star/linguistic2/XSpellAlternatives.hpp
- com/sun/star/linguistic2/XSpellChecker1.hpp
sw/inc/SwGetPoolIdFromName.hxx:
# Needed for enum type
- sal/types.h
sw/inc/unocoll.hxx:
# base class has to be a complete type
- com/sun/star/container/XEnumerationAccess.hpp
- com/sun/star/container/XIndexAccess.hpp
- com/sun/star/container/XNameAccess.hpp
- com/sun/star/lang/XServiceInfo.hpp
sw/inc/unobaseclass.hxx:
# base class has to be a complete type
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/container/XEnumeration.hpp
sw/inc/unofieldcoll.hxx:
# base class has to be a complete type
- com/sun/star/util/XRefreshable.hpp
sw/inc/unochart.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/chart2/data/XDataProvider.hpp
- com/sun/star/chart2/data/XDataSequence.hpp
- com/sun/star/chart2/data/XDataSource.hpp
- com/sun/star/chart2/data/XLabeledDataSequence2.hpp
- com/sun/star/chart2/data/XNumericalDataSequence.hpp
- com/sun/star/chart2/data/XRangeXMLConversion.hpp
- com/sun/star/chart2/data/XTextualDataSequence.hpp
- com/sun/star/lang/XComponent.hpp
- com/sun/star/lang/XEventListener.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/util/XCloneable.hpp
- com/sun/star/util/XModifiable.hpp
- com/sun/star/util/XModifyListener.hpp
sw/inc/unodraw.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertyState.hpp
- com/sun/star/container/XEnumerationAccess.hpp
- com/sun/star/drawing/XShape.hpp
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/text/XTextContent.hpp
sw/inc/unoframe.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertyState.hpp
- com/sun/star/container/XEnumerationAccess.hpp
- com/sun/star/container/XNamed.hpp
- com/sun/star/document/XEmbeddedObjectSupplier2.hpp
- com/sun/star/document/XEventsSupplier.hpp
- com/sun/star/drawing/XShape.hpp
- com/sun/star/text/XTextFrame.hpp
- com/sun/star/util/XModifyListener.hpp
sw/inc/unosrch.hxx:
# base class has to be a complete type
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/util/XPropertyReplace.hpp
sw/inc/unoparagraph.hxx:
# base class has to be a complete type
- com/sun/star/beans/XMultiPropertySet.hpp
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/beans/XPropertyState.hpp
- com/sun/star/beans/XTolerantMultiPropertySet.hpp
- com/sun/star/container/XContentEnumerationAccess.hpp
- com/sun/star/container/XEnumerationAccess.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/text/XTextContent.hpp
- com/sun/star/text/XTextRange.hpp
sw/inc/unosett.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/container/XIndexReplace.hpp
- com/sun/star/container/XNamed.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/text/XTextColumns.hpp
# sw::UnoImplPtr typedef
- unobaseclass.hxx
sw/inc/unotbl.hxx:
# base class has to be a complete type
- com/sun/star/chart/XChartDataArray.hpp
- com/sun/star/container/XEnumerationAccess.hpp
- com/sun/star/container/XNamed.hpp
- com/sun/star/sheet/XCellRangeData.hpp
- com/sun/star/table/XAutoFormattable.hpp
- com/sun/star/table/XCellRange.hpp
- com/sun/star/text/XTextTable.hpp
- com/sun/star/text/XTextTableCursor.hpp
- com/sun/star/util/XSortable.hpp
sw/inc/unotextbodyhf.hxx:
# base class has to be a complete type
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/container/XEnumerationAccess.hpp
sw/inc/unotextcursor.hxx:
# base class has to be a complete type
- com/sun/star/beans/XMultiPropertySet.hpp
- com/sun/star/beans/XMultiPropertyStates.hpp
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/beans/XPropertyState.hpp
- com/sun/star/container/XContentEnumerationAccess.hpp
- com/sun/star/container/XEnumerationAccess.hpp
- com/sun/star/document/XDocumentInsertable.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/text/XMarkingAccess.hpp
- com/sun/star/text/XParagraphCursor.hpp
- com/sun/star/text/XRedline.hpp
- com/sun/star/text/XSentenceCursor.hpp
- com/sun/star/text/XWordCursor.hpp
- com/sun/star/util/XSortable.hpp
sw/inc/unoredlines.hxx:
# base class has to be a complete type
- com/sun/star/container/XEnumerationAccess.hpp
sw/inc/unotxdoc.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/beans/XPropertyState.hpp
- com/sun/star/document/XDocumentLanguages.hpp
- com/sun/star/document/XLinkTargetSupplier.hpp
- com/sun/star/document/XRedlinesSupplier.hpp
- com/sun/star/drawing/XDrawPageSupplier.hpp
- com/sun/star/drawing/XDrawPagesSupplier.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/style/XAutoStylesSupplier.hpp
- com/sun/star/style/XStyleFamiliesSupplier.hpp
- com/sun/star/text/XBookmarksSupplier.hpp
- com/sun/star/text/XChapterNumberingSupplier.hpp
- com/sun/star/text/XDocumentIndexesSupplier.hpp
- com/sun/star/text/XEndnotesSupplier.hpp
- com/sun/star/text/XFlatParagraphIteratorProvider.hpp
- com/sun/star/text/XFootnotesSupplier.hpp
- com/sun/star/text/XLineNumberingProperties.hpp
- com/sun/star/text/XNumberingRulesSupplier.hpp
- com/sun/star/text/XPagePrintable.hpp
- com/sun/star/text/XReferenceMarksSupplier.hpp
- com/sun/star/text/XTextDocument.hpp
- com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp
- com/sun/star/text/XTextFieldsSupplier.hpp
- com/sun/star/text/XTextFramesSupplier.hpp
- com/sun/star/text/XTextGraphicObjectsSupplier.hpp
- com/sun/star/text/XTextSectionsSupplier.hpp
- com/sun/star/text/XTextTablesSupplier.hpp
- com/sun/star/util/XCloneable.hpp
- com/sun/star/util/XLinkUpdate.hpp
- com/sun/star/util/XRefreshable.hpp
- com/sun/star/util/XReplaceable.hpp
- com/sun/star/view/XRenderable.hpp
- com/sun/star/xforms/XFormsSupplier.hpp
# sw::UnoImplPtr typedef
- unobaseclass.hxx
sw/inc/hintids.hxx:
# used as template parameter of TypedWhichId
- class SfxStringItem
- class SvXMLAttrContainerItem
- class SwAttrSetChg
- class SwDocPosUpdate
- class SwFormatChg
- class SwFormatMeta
- class SwMsgPoolItem
- class SwPtrMsgPoolItem
- class SwUpdateAttr
- class SfxBoolItem
- class SvxCharSetColorItem
- class SvxColorItem
# used in extern declaration
- struct SfxItemInfo
sw/inc/textboxhelper.hxx:
# used as a template parameter
- class SwFormatContent
sw/qa/extras/rtfimport/rtfimport.cxx:
# complete type is wanted
- com/sun/star/text/XDocumentIndexMark.hpp
sw/qa/extras/rtfexport/rtfexport.cxx:
# complete type is wanted
- com/sun/star/awt/XBitmap.hpp
- com/sun/star/text/XTextColumns.hpp
sw/inc/pagepreviewlayout.hxx:
- vector
sw/inc/unostyle.hxx:
# Base class needs complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/beans/XPropertyState.hpp
- com/sun/star/style/XAutoStyle.hpp
- com/sun/star/style/XAutoStyleFamily.hpp
- com/sun/star/style/XAutoStyles.hpp
- com/sun/star/container/XNameContainer.hpp
- com/sun/star/style/XStyle.hpp
- com/sun/star/style/XStyleLoader.hpp
sw/inc/unotextrange.hxx:
# Base class needs complete type
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/beans/XPropertyState.hpp
- com/sun/star/container/XIndexAccess.hpp
- com/sun/star/container/XEnumerationAccess.hpp
- com/sun/star/container/XContentEnumerationAccess.hpp
- com/sun/star/text/XTextRange.hpp
- com/sun/star/text/XRedline.hpp
# sw::UnoImplPtr typedef
- unobaseclass.hxx
sw/source/core/access/acccontext.hxx:
# Base class needs complete type
- com/sun/star/accessibility/XAccessibleComponent.hpp
- com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
- com/sun/star/lang/XServiceInfo.hpp
sw/source/core/access/acchyperlink.hxx:
# Base class needs complete type
- com/sun/star/accessibility/XAccessibleHyperlink.hpp
sw/source/core/access/accnotexthyperlink.hxx:
# Base class needs complete type
- com/sun/star/accessibility/XAccessibleHyperlink.hpp
sw/source/core/docnode/cancellablejob.hxx:
# Base class needs complete type
- com/sun/star/util/XCancellable.hpp
sw/source/core/inc/acorrect.hxx:
# Needed for implicit dtor
- svl/itemset.hxx
sw/source/core/inc/dumpfilter.hxx:
# Base class needs complete type
- com/sun/star/document/XExporter.hpp
- com/sun/star/document/XFilter.hpp
- com/sun/star/lang/XInitialization.hpp
- com/sun/star/lang/XServiceInfo.hpp
sw/source/core/inc/frame.hxx:
# Needed for direct member access
- com/sun/star/style/TabStop.hpp
sw/source/core/inc/SwXTextDefaults.hxx:
# Base class needs complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/beans/XPropertyState.hpp
- com/sun/star/lang/XServiceInfo.hpp
sw/source/core/inc/swthreadjoiner.hxx:
# Needed for css shortcut
- sal/types.h
sw/source/core/inc/unobookmark.hxx:
# Base class needs complete type
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/container/XNamed.hpp
- com/sun/star/text/XTextContent.hpp
- com/sun/star/text/XFormField.hpp
# Needed for UnoImplPtr template
- unobaseclass.hxx
sw/source/core/inc/unofield.hxx:
# Base class needs complete type
- com/sun/star/container/XEnumeration.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/text/XDependentTextField.hpp
- com/sun/star/util/XUpdatable.hpp
# Needed for UnoImplPtr template
- unobaseclass.hxx
include/svtools/unoevent.hxx:
# Don't give false positives checking sw/source/core/inc/unoevent.hxx
- com/sun/star/container/XNameReplace.hpp
- com/sun/star/lang/XServiceInfo.hpp
sw/source/core/inc/unoflatpara.hxx:
# Base class needs complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/text/XFlatParagraph.hpp
- com/sun/star/text/XFlatParagraphIterator.hpp
sw/source/core/inc/unofootnote.hxx:
# Base class needs complete type
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/container/XEnumerationAccess.hpp
- com/sun/star/text/XFootnote.hpp
sw/source/core/inc/unoidx.hxx:
# Base class needs complete type
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/container/XNamed.hpp
- com/sun/star/util/XRefreshable.hpp
- com/sun/star/text/XDocumentIndexMark.hpp
- com/sun/star/text/XDocumentIndex.hpp
# Needed for UnoImplPtr template
- unobaseclass.hxx
sw/source/core/inc/unometa.hxx:
# Base class needs complete type
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/container/XChild.hpp
- com/sun/star/container/XEnumerationAccess.hpp
- com/sun/star/text/XTextContent.hpp
- com/sun/star/text/XTextField.hpp
# Needed for UnoImplPtr template
- unobaseclass.hxx
sw/source/core/inc/unorefmark.hxx:
# Base class needs complete type
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/container/XNamed.hpp
- com/sun/star/text/XTextContent.hpp
# Needed for UnoImplPtr template
- unobaseclass.hxx
sw/source/core/inc/unoport.hxx:
# Base class needs complete type
- com/sun/star/text/XTextRange.hpp
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/container/XEnumeration.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/container/XContentEnumerationAccess.hpp
- com/sun/star/beans/XMultiPropertySet.hpp
- com/sun/star/beans/XPropertyState.hpp
- com/sun/star/beans/XTolerantMultiPropertySet.hpp
sw/source/core/inc/unotextmarkup.hxx:
# Base class needs complete type
- com/sun/star/text/XTextMarkup.hpp
- com/sun/star/text/XMultiTextMarkup.hpp
# Needed for UnoImplPtr template
- unobaseclass.hxx
sw/source/core/inc/unosection.hxx:
# Base class needs complete type
- com/sun/star/lang/XUnoTunnel.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/beans/XPropertyState.hpp
- com/sun/star/beans/XMultiPropertySet.hpp
- com/sun/star/container/XNamed.hpp
- com/sun/star/text/XTextSection.hpp
# Needed for UnoImplPtr template
- unobaseclass.hxx
sw/qa/extras/odfexport/odfexport.cxx:
# Needed for getProperty template
- com/sun/star/graphic/XGraphic.hpp
sw/qa/extras/odfimport/odfimport.cxx:
# Needed for direct member access
- com/sun/star/text/XTextSection.hpp
sw/qa/extras/ooxmlexport/ooxmlexport.cxx:
# Needed for direct member access
- com/sun/star/graphic/XGraphic.hpp
- com/sun/star/text/TableColumnSeparator.hpp
sw/qa/extras/ooxmlexport/ooxmlexport2.cxx:
# Needed for direct member access
- com/sun/star/awt/XBitmap.hpp
sw/qa/extras/ooxmlexport/ooxmlexport3.cxx:
# Needed for direct member access
- com/sun/star/xml/dom/XDocument.hpp
sw/qa/extras/ooxmlexport/ooxmlexport4.cxx:
# Needed for direct member access
- com/sun/star/awt/XBitmap.hpp
sw/qa/extras/ooxmlexport/ooxmlexport8.cxx:
# Needed for direct member access
- com/sun/star/graphic/XGraphic.hpp
sw/qa/extras/ooxmlexport/ooxmlexport9.cxx:
# Needed for direct member access
- com/sun/star/graphic/XGraphic.hpp
sw/qa/extras/ooxmlexport/ooxmlexport10.cxx:
# Needed for direct member access
- com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp
- com/sun/star/graphic/XGraphic.hpp
- com/sun/star/text/TableColumnSeparator.hpp
- com/sun/star/text/XTextColumns.hpp
sw/qa/extras/ooxmlimport/ooxmlimport2.cxx:
# Needed for direct member access
- com/sun/star/document/XEmbeddedObjectSupplier2.hpp
- com/sun/star/embed/Aspects.hpp
sw/qa/extras/rtfimport/rtfimport.cxx:
# Needed for direct member access
- com/sun/star/graphic/XGraphic.hpp
- com/sun/star/text/XDocumentIndexMark.hpp
sw/qa/extras/uiwriter/uiwriter.cxx:
# Needed for for-loop range
- PostItMgr.hxx
# Needed for TypedWhichId macro
- editeng/rsiditem.hxx
sw/qa/extras/unowriter/unowriter.cxx:
# Needed for direct member access
- com/sun/star/awt/XDevice.hpp
# Needed for for-loop range
- com/sun/star/graphic/XGraphic.hpp
sw/qa/extras/ww8export/ww8export.cxx:
# Needed for direct member access
- com/sun/star/graphic/XGraphic.hpp
sw/qa/extras/ww8import/ww8import.cxx:
# Needed for for-loop range
- com/sun/star/graphic/XGraphic.hpp
include/sal/types.h:
# Ignore warning during checking source/filter/ww8/types.hxx
- sal/typesizes.h
sw/source/filter/ww8/ww8scan.hxx:
# OSL_BIGENDIAN is being checked
- osl/endian.h
sw/qa/extras/layout/layout.cxx:
- comphelper/scopeguard.hxx
sw/source/filter/html/htmlreqifreader.cxx:
- comphelper/scopeguard.hxx