summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2021-04-01 09:40:51 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-04-09 11:56:36 +0200
commit2633d5f97ff45cc4a7f016bee1f2e8f92a60d2fb (patch)
tree248eafb1e97bf19315d698d1243c7f74dad40a09 /include/sfx2
parent28a9a92105f3155d82fd9e31095efabd3ec706ea (diff)
Recheck include/ with IWYU
See tdf#42949 for motivation Change-Id: Ifc253bf800bb1468b5774663a93f4fb30bec81d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113657 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/QuerySaveDocument.hxx1
-rw-r--r--include/sfx2/XmlIdRegistry.hxx1
-rw-r--r--include/sfx2/devtools/DevelopmentToolDockingWindow.hxx4
-rw-r--r--include/sfx2/devtools/DocumentModelTreeHandler.hxx3
-rw-r--r--include/sfx2/devtools/ObjectInspectorTreeHandler.hxx2
-rw-r--r--include/sfx2/dinfdlg.hxx1
-rw-r--r--include/sfx2/lokcharthelper.hxx1
-rw-r--r--include/sfx2/notebookbar/SfxNotebookBar.hxx3
-rw-r--r--include/sfx2/sidebar/FocusManager.hxx1
-rw-r--r--include/sfx2/sidebar/Sidebar.hxx3
-rw-r--r--include/sfx2/sidebar/TabBar.hxx2
-rw-r--r--include/sfx2/sidebar/Theme.hxx2
12 files changed, 7 insertions, 17 deletions
diff --git a/include/sfx2/QuerySaveDocument.hxx b/include/sfx2/QuerySaveDocument.hxx
index 06eecdf1df83..2d800be80d4e 100644
--- a/include/sfx2/QuerySaveDocument.hxx
+++ b/include/sfx2/QuerySaveDocument.hxx
@@ -23,7 +23,6 @@
#include <string_view>
-#include <rtl/ustring.hxx>
#include <sfx2/dllapi.h>
namespace weld
diff --git a/include/sfx2/XmlIdRegistry.hxx b/include/sfx2/XmlIdRegistry.hxx
index a2b4b2129760..494c83020883 100644
--- a/include/sfx2/XmlIdRegistry.hxx
+++ b/include/sfx2/XmlIdRegistry.hxx
@@ -25,7 +25,6 @@
#include <string_view>
#include <sfx2/dllapi.h>
-#include <rtl/ustring.hxx>
namespace com::sun::star::beans { struct StringPair; }
namespace com::sun::star::uno { template <typename > class Reference; }
diff --git a/include/sfx2/devtools/DevelopmentToolDockingWindow.hxx b/include/sfx2/devtools/DevelopmentToolDockingWindow.hxx
index 284072a6c18f..97df40d8f63b 100644
--- a/include/sfx2/devtools/DevelopmentToolDockingWindow.hxx
+++ b/include/sfx2/devtools/DevelopmentToolDockingWindow.hxx
@@ -12,7 +12,6 @@
#include <sfx2/dllapi.h>
#include <sfx2/dockwin.hxx>
-#include <vcl/customweld.hxx>
#include <vcl/weld.hxx>
#include <sfx2/devtools/ObjectInspectorWidgets.hxx>
@@ -23,9 +22,6 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/view/XSelectionChangeListener.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
-#include <com/sun/star/frame/XController.hpp>
-
-#include <unordered_map>
/** Development tool main docking window
*
diff --git a/include/sfx2/devtools/DocumentModelTreeHandler.hxx b/include/sfx2/devtools/DocumentModelTreeHandler.hxx
index c63986ad1476..47294d527efe 100644
--- a/include/sfx2/devtools/DocumentModelTreeHandler.hxx
+++ b/include/sfx2/devtools/DocumentModelTreeHandler.hxx
@@ -10,14 +10,11 @@
#pragma once
-#include <sfx2/dllapi.h>
#include <vcl/weld.hxx>
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/uno/Reference.hxx>
-#include <unordered_map>
-
/** Document model tree handler
*
* Handles the DOM tree part of DevTools, which includes interaction with
diff --git a/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx b/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx
index 4fd340887855..0919bbfa3b9a 100644
--- a/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx
+++ b/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx
@@ -10,10 +10,8 @@
#pragma once
-#include <sfx2/dllapi.h>
#include <vcl/weld.hxx>
#include <vcl/commandevent.hxx>
-#include <vcl/svapp.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/XInterface.hpp>
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index 521434236cea..04fe4131216b 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -33,6 +33,7 @@
#include <svtools/ctrlbox.hxx>
#include <vcl/idle.hxx>
+#include <vcl/weldutils.hxx>
#include <sfx2/tabdlg.hxx>
diff --git a/include/sfx2/lokcharthelper.hxx b/include/sfx2/lokcharthelper.hxx
index 319af8c35da5..ee30a645abfc 100644
--- a/include/sfx2/lokcharthelper.hxx
+++ b/include/sfx2/lokcharthelper.hxx
@@ -13,6 +13,7 @@
#include <sfx2/dllapi.h>
#include <tools/gen.hxx>
#include <vcl/vclptr.hxx>
+#include <vcl/window.hxx>
namespace com::sun::star::frame { class XController; }
namespace com::sun::star::frame { class XDispatch; }
diff --git a/include/sfx2/notebookbar/SfxNotebookBar.hxx b/include/sfx2/notebookbar/SfxNotebookBar.hxx
index cb94dd2b4603..2fe195f06901 100644
--- a/include/sfx2/notebookbar/SfxNotebookBar.hxx
+++ b/include/sfx2/notebookbar/SfxNotebookBar.hxx
@@ -12,7 +12,10 @@
#include <sfx2/dllapi.h>
#include <rtl/ustring.hxx>
+#include <vcl/WeldedTabbedNotebookbar.hxx>
+
#include <map>
+#include <memory>
#include <string_view>
namespace com::sun::star::frame
diff --git a/include/sfx2/sidebar/FocusManager.hxx b/include/sfx2/sidebar/FocusManager.hxx
index fd5d2e879e01..c51ccbfa832f 100644
--- a/include/sfx2/sidebar/FocusManager.hxx
+++ b/include/sfx2/sidebar/FocusManager.hxx
@@ -20,7 +20,6 @@
#include <sfx2/sidebar/Panel.hxx>
#include <tools/link.hxx>
-#include <vcl/vclevent.hxx>
#include <vcl/keycod.hxx>
namespace weld {
diff --git a/include/sfx2/sidebar/Sidebar.hxx b/include/sfx2/sidebar/Sidebar.hxx
index 38e3dfc010b9..2520a80a4be4 100644
--- a/include/sfx2/sidebar/Sidebar.hxx
+++ b/include/sfx2/sidebar/Sidebar.hxx
@@ -21,7 +21,8 @@
#include <sfx2/dllapi.h>
#include <sfx2/viewfrm.hxx>
-#include <rtl/ustring.hxx>
+
+#include <string_view>
namespace com::sun::star::frame { class XFrame; }
namespace com::sun::star::uno { template <typename > class Reference; }
diff --git a/include/sfx2/sidebar/TabBar.hxx b/include/sfx2/sidebar/TabBar.hxx
index 77b6fd91f5d0..f4faad6ba7cf 100644
--- a/include/sfx2/sidebar/TabBar.hxx
+++ b/include/sfx2/sidebar/TabBar.hxx
@@ -18,8 +18,6 @@
*/
#pragma once
-#include <config_options.h>
-#include <sfx2//dllapi.h>
#include <sfx2/sidebar/ResourceManager.hxx>
#include <vcl/InterimItemWindow.hxx>
diff --git a/include/sfx2/sidebar/Theme.hxx b/include/sfx2/sidebar/Theme.hxx
index c094509d0d7b..f75f4724526e 100644
--- a/include/sfx2/sidebar/Theme.hxx
+++ b/include/sfx2/sidebar/Theme.hxx
@@ -21,10 +21,8 @@
#include <sfx2/dllapi.h>
#include <tools/color.hxx>
-#include <vcl/image.hxx>
#include <cppuhelper/compbase.hxx>
#include <cppuhelper/basemutex.hxx>
-#include <tools/gen.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>