diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-03-31 15:55:14 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-04-05 10:57:49 +0200 |
commit | 01757656f2cc36b6cb8be88ebc0ea1050e0e5c39 (patch) | |
tree | c5b88e9a3492c56a2833cddd19c19f5662a95e00 /sfx2/source | |
parent | 0317835baf1f9531365131203decc6eb44b273e4 (diff) |
tdf#42949 Fix IWYU warnings in include/sfx2/sidebar/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Ic2bd25bcbcc7f5fb6e29ced70fddb74385b5fb2f
Reviewed-on: https://gerrit.libreoffice.org/70077
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/notebookbar/NotebookbarTabControl.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/sidebar/DeckLayouter.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/sidebar/DrawHelper.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/sidebar/Panel.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/PanelTitleBar.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/ResourceManager.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/sidebar/Sidebar.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarController.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarDockingWindow.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarToolBox.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/sidebar/TabBar.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/sidebar/Theme.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/UnoDeck.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/sidebar/UnoPanel.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/UnoSidebar.cxx | 2 |
15 files changed, 27 insertions, 1 deletions
diff --git a/sfx2/source/notebookbar/NotebookbarTabControl.cxx b/sfx2/source/notebookbar/NotebookbarTabControl.cxx index 20c37dc1a297..eb9eaa425f0b 100644 --- a/sfx2/source/notebookbar/NotebookbarTabControl.cxx +++ b/sfx2/source/notebookbar/NotebookbarTabControl.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/ui/ItemType.hpp> #include <com/sun/star/frame/XModuleManager.hpp> #include <com/sun/star/frame/ModuleManager.hpp> +#include <com/sun/star/frame/XFrame.hpp> #include <sfx2/notebookbar/SfxNotebookBar.hxx> #include <com/sun/star/uno/Reference.h> #include <toolkit/awt/vclxmenu.hxx> diff --git a/sfx2/source/sidebar/DeckLayouter.cxx b/sfx2/source/sidebar/DeckLayouter.cxx index c3649aaab106..120906307e9a 100644 --- a/sfx2/source/sidebar/DeckLayouter.cxx +++ b/sfx2/source/sidebar/DeckLayouter.cxx @@ -32,6 +32,7 @@ #include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/frame/XDesktop2.hpp> #include <com/sun/star/frame/XFrame.hpp> +#include <com/sun/star/ui/XSidebarPanel.hpp> using namespace css; using namespace css::uno; diff --git a/sfx2/source/sidebar/DrawHelper.cxx b/sfx2/source/sidebar/DrawHelper.cxx index be369c776c17..70c04b6b9bf0 100644 --- a/sfx2/source/sidebar/DrawHelper.cxx +++ b/sfx2/source/sidebar/DrawHelper.cxx @@ -21,6 +21,7 @@ #include <sfx2/sidebar/Paint.hxx> #include <vcl/lineinfo.hxx> +#include <tools/svborder.hxx> namespace sfx2 { namespace sidebar { diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx index 028097dfb0c8..9c7c3f3a2b79 100644 --- a/sfx2/source/sidebar/Panel.cxx +++ b/sfx2/source/sidebar/Panel.cxx @@ -37,6 +37,8 @@ #include <com/sun/star/awt/XWindowPeer.hpp> #include <com/sun/star/awt/PosSize.hpp> #include <com/sun/star/ui/XToolPanel.hpp> +#include <com/sun/star/ui/XSidebarPanel.hpp> +#include <com/sun/star/ui/XUIElement.hpp> using namespace css; using namespace css::uno; diff --git a/sfx2/source/sidebar/PanelTitleBar.cxx b/sfx2/source/sidebar/PanelTitleBar.cxx index fd97787c51c7..6071da7da9dd 100644 --- a/sfx2/source/sidebar/PanelTitleBar.cxx +++ b/sfx2/source/sidebar/PanelTitleBar.cxx @@ -32,6 +32,8 @@ #include <toolkit/helper/vclunohelper.hxx> #include <tools/diagnose_ex.h> +#include <com/sun/star/frame/XDispatch.hpp> + using namespace css; using namespace css::uno; diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx index 3ef85d0a09ea..f59efbab5706 100644 --- a/sfx2/source/sidebar/ResourceManager.cxx +++ b/sfx2/source/sidebar/ResourceManager.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sfx2/sidebar/DeckDescriptor.hxx> +#include <sfx2/sidebar/PanelDescriptor.hxx> #include <sfx2/sidebar/ResourceManager.hxx> #include <sfx2/sidebar/Tools.hxx> @@ -30,6 +32,7 @@ #include <rtl/ustrbuf.hxx> #include <tools/diagnose_ex.h> #include <sal/log.hxx> +#include <vcl/EnumContext.hxx> #include <com/sun/star/frame/ModuleManager.hpp> #include <com/sun/star/ui/XUpdateModel.hpp> diff --git a/sfx2/source/sidebar/Sidebar.cxx b/sfx2/source/sidebar/Sidebar.cxx index 06420d437702..855da3113a36 100644 --- a/sfx2/source/sidebar/Sidebar.cxx +++ b/sfx2/source/sidebar/Sidebar.cxx @@ -20,6 +20,7 @@ #include <sfx2/sidebar/Sidebar.hxx> #include <sfx2/sidebar/SidebarController.hxx> #include <sfx2/sidebar/ResourceManager.hxx> +#include <sfx2/sidebar/PanelDescriptor.hxx> using namespace css; diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index f2fa554fb52c..c9958afbe388 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -18,8 +18,10 @@ */ #include <sfx2/sidebar/SidebarController.hxx> #include <sfx2/sidebar/Deck.hxx> +#include <sfx2/sidebar/DeckDescriptor.hxx> #include <sfx2/sidebar/DeckTitleBar.hxx> #include <sfx2/sidebar/Panel.hxx> +#include <sfx2/sidebar/PanelDescriptor.hxx> #include <sfx2/sidebar/PanelTitleBar.hxx> #include <sfx2/sidebar/TabBar.hxx> #include <sfx2/sidebar/Theme.hxx> @@ -48,6 +50,8 @@ #include <sal/log.hxx> #include <officecfg/Office/UI/Sidebar.hxx> +#include <com/sun/star/awt/XWindowPeer.hpp> +#include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/ui/ContextChangeEventMultiplexer.hpp> #include <com/sun/star/ui/ContextChangeEventObject.hpp> diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx index 5748edee413e..7e4d98e78d77 100644 --- a/sfx2/source/sidebar/SidebarDockingWindow.cxx +++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx @@ -19,11 +19,13 @@ #include <sfx2/sidebar/SidebarDockingWindow.hxx> #include <sfx2/sidebar/SidebarChildWindow.hxx> #include <sfx2/sidebar/SidebarController.hxx> +#include <sfx2/sidebar/PanelDescriptor.hxx> #include <comphelper/processfactory.hxx> #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/viewfrm.hxx> +#include <svtools/acceleratorexecute.hxx> #include <tools/link.hxx> #include <tools/gen.hxx> #include <vcl/event.hxx> diff --git a/sfx2/source/sidebar/SidebarToolBox.cxx b/sfx2/source/sidebar/SidebarToolBox.cxx index 4e9fe7916441..d040fcdba796 100644 --- a/sfx2/source/sidebar/SidebarToolBox.cxx +++ b/sfx2/source/sidebar/SidebarToolBox.cxx @@ -29,6 +29,9 @@ #include <toolkit/helper/vclunohelper.hxx> #include <svtools/miscopt.hxx> #include <com/sun/star/frame/XSubToolbarController.hpp> +#include <com/sun/star/lang/XComponent.hpp> +#include <com/sun/star/frame/XFrame.hpp> +#include <com/sun/star/frame/XToolbarController.hpp> using namespace css; using namespace css::uno; diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx index ab258a7ab473..8ca65efbadd7 100644 --- a/sfx2/source/sidebar/TabBar.cxx +++ b/sfx2/source/sidebar/TabBar.cxx @@ -38,6 +38,7 @@ #include <vcl/svapp.hxx> #include <vcl/wrkwin.hxx> #include <tools/svborder.hxx> +#include <svtools/acceleratorexecute.hxx> #include <com/sun/star/graphic/XGraphicProvider.hpp> diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx index 90911f159efa..bc6236d34bbd 100644 --- a/sfx2/source/sidebar/Theme.cxx +++ b/sfx2/source/sidebar/Theme.cxx @@ -27,6 +27,8 @@ #include <vcl/settings.hxx> #include <tools/diagnose_ex.h> +#include <com/sun/star/awt/Rectangle.hpp> + using namespace css; using namespace css::uno; diff --git a/sfx2/source/sidebar/UnoDeck.cxx b/sfx2/source/sidebar/UnoDeck.cxx index bd6dfe015e23..de5e0c82c372 100644 --- a/sfx2/source/sidebar/UnoDeck.cxx +++ b/sfx2/source/sidebar/UnoDeck.cxx @@ -16,6 +16,7 @@ #include <sfx2/sidebar/SidebarController.hxx> #include <sfx2/sidebar/DeckTitleBar.hxx> #include <sfx2/sidebar/Deck.hxx> +#include <sfx2/sidebar/DeckDescriptor.hxx> #include <vcl/svapp.hxx> diff --git a/sfx2/source/sidebar/UnoPanel.cxx b/sfx2/source/sidebar/UnoPanel.cxx index f4f022ca74c0..83fb45dd7842 100644 --- a/sfx2/source/sidebar/UnoPanel.cxx +++ b/sfx2/source/sidebar/UnoPanel.cxx @@ -13,9 +13,11 @@ #include <sfx2/sidebar/ResourceManager.hxx> #include <sfx2/sidebar/SidebarController.hxx> +#include <sfx2/sidebar/PanelDescriptor.hxx> #include <sfx2/sidebar/PanelTitleBar.hxx> #include <sfx2/sidebar/Panel.hxx> #include <sfx2/sidebar/Deck.hxx> +#include <sfx2/sidebar/DeckDescriptor.hxx> #include <vcl/svapp.hxx> diff --git a/sfx2/source/sidebar/UnoSidebar.cxx b/sfx2/source/sidebar/UnoSidebar.cxx index abf4d420f975..20b3ed6cc6f8 100644 --- a/sfx2/source/sidebar/UnoSidebar.cxx +++ b/sfx2/source/sidebar/UnoSidebar.cxx @@ -12,7 +12,7 @@ #include <sfx2/sidebar/Tools.hxx> #include <sfx2/sidebar/ResourceManager.hxx> - +#include <sfx2/sidebar/SidebarController.hxx> #include <sfx2/sidebar/UnoDecks.hxx> #include <com/sun/star/frame/XDispatch.hpp> |