summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-08-10 07:48:42 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-08-27 10:23:38 +0200
commit334d8a61e45290015424bd5370cfd51e903ebff4 (patch)
tree707d6dd224147d00b053352d335b306f140dc8fe /include
parentdb68a9c002314e17c2b1d1748269af4d1851ef48 (diff)
tdf#42949 Fix IWYU warnings in sd/source/ui/inc/[n-s]*hxx
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Also a bit of fallout management overreaching into include/ Change-Id: I99bd4527ecf34e5193602f0e9dcb33b504e8c9e1 Reviewed-on: https://gerrit.libreoffice.org/58808 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/IwyuFilter_include.yaml3
-rw-r--r--include/sfx2/toolbarids.hxx2
-rw-r--r--include/svx/SpellDialogChildWindow.hxx1
3 files changed, 5 insertions, 1 deletions
diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml
index 1f88a7890f9b..9ad89d5d1344 100644
--- a/include/IwyuFilter_include.yaml
+++ b/include/IwyuFilter_include.yaml
@@ -46,3 +46,6 @@ blacklist:
include/registry/types.hxx:
# Needed for template
- o3tl/typed_flags_set.hxx
+ include/sfx2/toolbarids.hxx:
+ # needed for enum definition
+ - sal/types.h
diff --git a/include/sfx2/toolbarids.hxx b/include/sfx2/toolbarids.hxx
index ae112c0ce493..bf02ce14634c 100644
--- a/include/sfx2/toolbarids.hxx
+++ b/include/sfx2/toolbarids.hxx
@@ -10,6 +10,8 @@
#ifndef INCLUDED_SFX2_TOOLBARIDS_HXX
#define INCLUDED_SFX2_TOOLBARIDS_HXX
+#include <sal/types.h>
+
//these numbers end up in the configuration to identify toolbars
//so don't blindly change their numbers
enum class ToolbarId : sal_uInt32
diff --git a/include/svx/SpellDialogChildWindow.hxx b/include/svx/SpellDialogChildWindow.hxx
index 15c0f6868891..1f66a828ea07 100644
--- a/include/svx/SpellDialogChildWindow.hxx
+++ b/include/svx/SpellDialogChildWindow.hxx
@@ -23,7 +23,6 @@
#include <sfx2/childwin.hxx>
#include <editeng/SpellPortions.hxx>
#include <svx/svxdllapi.h>
-#include <vcl/image.hxx>
class AbstractSpellDialog;