From 9059457a1a8385cb80b5dd2c797cee77af4222a9 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Wed, 28 Nov 2018 04:37:16 +0100 Subject: tdf#42949 Fix IWYU warnings in sc/source/ui/*/hxx Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I3a945828b4c74be7747850e3e0eab2f4adeb67fd Reviewed-on: https://gerrit.libreoffice.org/64140 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- sc/source/ui/sidebar/AlignmentPropertyPanel.hxx | 4 ---- sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx | 6 +----- sc/source/ui/sidebar/CellBorderStyleControl.hxx | 2 -- sc/source/ui/sidebar/CellLineStyleControl.hxx | 2 -- sc/source/ui/sidebar/CellLineStyleValueSet.hxx | 1 - sc/source/ui/sidebar/ScPanelFactory.hxx | 1 - 6 files changed, 1 insertion(+), 15 deletions(-) (limited to 'sc/source/ui/sidebar') diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx index 9df3f424d885..47c50734f5f2 100644 --- a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx +++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx @@ -25,13 +25,9 @@ #include #include #include -#include -class ToolBox; class MetricField; class MetricBox; -class CheckBox; -namespace svx { namespace sidebar { class SidebarDialControl; }} namespace sc { namespace sidebar { diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx index c4d403f26040..296ec9d25a3c 100644 --- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx +++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx @@ -22,12 +22,8 @@ #include #include #include -#include -#include +#include -namespace sc { namespace sidebar { - class CellBorderUpdater; -}} class ToolBox; namespace sc { namespace sidebar { diff --git a/sc/source/ui/sidebar/CellBorderStyleControl.hxx b/sc/source/ui/sidebar/CellBorderStyleControl.hxx index a288f1a3eaca..3e413265bc1b 100644 --- a/sc/source/ui/sidebar/CellBorderStyleControl.hxx +++ b/sc/source/ui/sidebar/CellBorderStyleControl.hxx @@ -19,8 +19,6 @@ #ifndef INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLBORDERSTYLECONTROL_HXX #define INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLBORDERSTYLECONTROL_HXX -#include -#include #include #include diff --git a/sc/source/ui/sidebar/CellLineStyleControl.hxx b/sc/source/ui/sidebar/CellLineStyleControl.hxx index 399ff9a260be..26217fe3ee82 100644 --- a/sc/source/ui/sidebar/CellLineStyleControl.hxx +++ b/sc/source/ui/sidebar/CellLineStyleControl.hxx @@ -27,8 +27,6 @@ class SfxDispatcher; namespace sc { namespace sidebar { -class CellAppearancePropertyPanel; - class CellLineStylePopup : public FloatingWindow { SfxDispatcher* mpDispatcher; diff --git a/sc/source/ui/sidebar/CellLineStyleValueSet.hxx b/sc/source/ui/sidebar/CellLineStyleValueSet.hxx index b01a9e1464b1..2e45622d8812 100644 --- a/sc/source/ui/sidebar/CellLineStyleValueSet.hxx +++ b/sc/source/ui/sidebar/CellLineStyleValueSet.hxx @@ -20,7 +20,6 @@ #define INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLLINESTYLEVALUESET_HXX #include -#include #define CELL_LINE_STYLE_ENTRIES 9 diff --git a/sc/source/ui/sidebar/ScPanelFactory.hxx b/sc/source/ui/sidebar/ScPanelFactory.hxx index 817058588fe9..ea5d28d53877 100644 --- a/sc/source/ui/sidebar/ScPanelFactory.hxx +++ b/sc/source/ui/sidebar/ScPanelFactory.hxx @@ -21,7 +21,6 @@ #include #include -#include #include #include -- cgit