From 17ecffa91065f453b0799dcc869901f2ecde09dd Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sun, 5 May 2019 23:18:18 +0200 Subject: tdf#42949 Fix IWYU warnings in sw/source/core/inc/[t-w]* Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I7cd9837360e244741bfa22b4693fd221241daf12 Reviewed-on: https://gerrit.libreoffice.org/71833 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- sw/IwyuFilter_sw.yaml | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) (limited to 'sw/IwyuFilter_sw.yaml') diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml index 15e849e77e29..2672bd568deb 100644 --- a/sw/IwyuFilter_sw.yaml +++ b/sw/IwyuFilter_sw.yaml @@ -270,6 +270,101 @@ blacklist: 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 -- cgit