From 1eaa1e2adeb50bb14d550e70fb77edfd2da11807 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Wed, 15 Jan 2020 22:52:44 +0100 Subject: tdf#42949 Fix IWYU warnings in sfx2/source/[s-v]*/*cxx and sfx2/qa Also quickly recheck other parts of sfx2 after recent welding there Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Iff847f142557b5b253887add12c005821554ef65 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86891 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- sfx2/IwyuFilter_sfx2.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'sfx2/IwyuFilter_sfx2.yaml') diff --git a/sfx2/IwyuFilter_sfx2.yaml b/sfx2/IwyuFilter_sfx2.yaml index 0c07246d9a86..90f5378813eb 100644 --- a/sfx2/IwyuFilter_sfx2.yaml +++ b/sfx2/IwyuFilter_sfx2.yaml @@ -95,3 +95,34 @@ blacklist: sfx2/source/doc/sfxbasemodel.cxx: # Don't propose hxx -> h change in URE libs - cppuhelper/interfacecontainer.hxx + sfx2/source/sidebar/ControllerFactory.cxx: + # Actually used + - com/sun/star/frame/XFrame.hpp + # Needed for instantiation of function template specialization + - com/sun/star/lang/XMultiServiceFactory.hpp + sfx2/source/sidebar/Panel.cxx: + # Actually used + - com/sun/star/ui/XUIElement.hpp + sfx2/source/sidebar/SidebarToolBox.cxx: + # Actually used + - com/sun/star/frame/XFrame.hpp + - com/sun/star/frame/XToolbarController.hpp + sfx2/source/sidebar/SidebarController.cxx: + # Actually used + - com/sun/star/awt/XWindowPeer.hpp + - com/sun/star/frame/XDispatch.hpp + - com/sun/star/ui/ContextChangeEventObject.hpp + sfx2/source/view/viewfrm2.cxx: + # Neede for direct member access + - com/sun/star/embed/VerbDescriptor.hpp + sfx2/source/view/classificationhelper.cxx: + # Actually used + - com/sun/star/beans/XPropertyContainer.hpp + - com/sun/star/document/XDocumentProperties.hpp + sfx2/source/view/userinputinterception.cxx: + # Actually used + - com/sun/star/awt/XKeyHandler.hpp + - com/sun/star/awt/XMouseClickHandler.hpp + sfx2/source/view/viewsh.cxx: + # Needed for TypedWhichId define + - svl/eitem.hxx -- cgit