summaryrefslogtreecommitdiff
path: root/sw/IwyuFilter_sw.yaml
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2019-01-05 00:12:44 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-01-11 11:04:53 +0100
commit48ba605c546dcd223e45d7b5a8e71998f945cadf (patch)
treeaeadb5dfa48694bb4ef02d0de6970edb42c8950d /sw/IwyuFilter_sw.yaml
parentdad7a53f1106a6ecc344caa902b07726b8eb59ad (diff)
tdf#42949 Fix IWYU warnings in sw/inc/*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. - Also fix .h / .hrc files - Remove a bit of duplication from the .yaml file Change-Id: I22145a79343497678e481d882544eb08e765312a Reviewed-on: https://gerrit.libreoffice.org/65878 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/IwyuFilter_sw.yaml')
-rw-r--r--sw/IwyuFilter_sw.yaml29
1 files changed, 23 insertions, 6 deletions
diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml
index 287d7613ea77..3cdfbe677d19 100644
--- a/sw/IwyuFilter_sw.yaml
+++ b/sw/IwyuFilter_sw.yaml
@@ -41,12 +41,6 @@ blacklist:
- utility
sw/inc/shellid.hxx:
- sfx2/shell.hxx
- sw/inc/unosett.hxx:
- # sw::UnoImplPtr typedef
- - unobaseclass.hxx
- sw/inc/unotxdoc.hxx:
- # sw::UnoImplPtr typedef
- - unobaseclass.hxx
sw/inc/breakit.hxx:
# std::unique_ptr dtor requires complete type
- com/sun/star/i18n/ForbiddenCharacters.hpp
@@ -242,3 +236,26 @@ blacklist:
- vector
sw/inc/shellio.hxx:
- o3tl/deleter.hxx
+ 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