include/svx/sidebar/AreaPropertyPanelBase.hxx | 5 ----- include/svx/sidebar/LinePropertyPanelBase.hxx | 4 ---- include/svx/sidebar/LineWidthPopup.hxx | 1 - include/svx/sidebar/PanelLayout.hxx | 2 -- include/svx/sidebar/SelectionChangeHandler.hxx | 1 - include/svx/sidebar/SidebarDialControl.hxx | 1 - include/svx/sidebar/ValueSetWithTextControl.hxx | 2 -- svx/source/sidebar/SelectionChangeHandler.cxx | 2 ++ svx/source/sidebar/area/AreaPropertyPanelBase.cxx | 1 + svx/source/sidebar/line/LinePropertyPanelBase.cxx | 1 + 10 files changed, 4 insertions(+), 16 deletions(-)
New commits: commit a64692944a0a22feeef4a943d45137b25494cf64 Author: Gabor Kelemen <kelemen.gab...@nisz.hu> AuthorDate: Wed Jun 12 18:02:28 2019 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Fri Jun 14 11:31:43 2019 +0200 tdf#42949 Fix IWYU warnings in include/svx/sidebar/* Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Iff84b84b5abbe64b0b69bdce5b45259aa6233499 Reviewed-on: https://gerrit.libreoffice.org/73896 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/include/svx/sidebar/AreaPropertyPanelBase.hxx b/include/svx/sidebar/AreaPropertyPanelBase.hxx index b24281efea5f..1614077bbb55 100644 --- a/include/svx/sidebar/AreaPropertyPanelBase.hxx +++ b/include/svx/sidebar/AreaPropertyPanelBase.hxx @@ -21,10 +21,7 @@ #include <memory> #include <svx/sidebar/AreaTransparencyGradientPopup.hxx> -#include <vcl/ctrl.hxx> -#include <sfx2/sidebar/SidebarPanelBase.hxx> #include <sfx2/sidebar/ControllerItem.hxx> -#include <sfx2/sidebar/SidebarController.hxx> #include <sfx2/sidebar/SidebarToolBox.hxx> #include <svx/colorbox.hxx> #include <svx/xgrad.hxx> @@ -34,7 +31,6 @@ #include <svx/xflgrit.hxx> #include <svx/xflhtit.hxx> #include <svx/xbtmpit.hxx> -#include <svx/drawitem.hxx> #include <svx/sidebar/PanelLayout.hxx> #include <vcl/lstbox.hxx> #include <vcl/field.hxx> @@ -42,7 +38,6 @@ #include <vcl/fixed.hxx> #include <vcl/vclptr.hxx> #include <svl/intitem.hxx> -#include <com/sun/star/ui/XUIElement.hpp> #include <svx/svxdllapi.h> class XFillFloatTransparenceItem; diff --git a/include/svx/sidebar/LinePropertyPanelBase.hxx b/include/svx/sidebar/LinePropertyPanelBase.hxx index 6d10cca666a0..c3aaf627c236 100644 --- a/include/svx/sidebar/LinePropertyPanelBase.hxx +++ b/include/svx/sidebar/LinePropertyPanelBase.hxx @@ -19,10 +19,6 @@ #ifndef INCLUDED_SVX_SOURCE_SIDEBAR_LINE_LINEPROPERTYPANELBASE_HXX #define INCLUDED_SVX_SOURCE_SIDEBAR_LINE_LINEPROPERTYPANELBASE_HXX -#include <svx/xdash.hxx> -#include <vcl/ctrl.hxx> -#include <sfx2/sidebar/SidebarPanelBase.hxx> -#include <sfx2/sidebar/ControllerItem.hxx> #include <vcl/fixed.hxx> #include <vcl/field.hxx> #include <vcl/layout.hxx> diff --git a/include/svx/sidebar/LineWidthPopup.hxx b/include/svx/sidebar/LineWidthPopup.hxx index e2e45ce102a1..a5595abdd23a 100644 --- a/include/svx/sidebar/LineWidthPopup.hxx +++ b/include/svx/sidebar/LineWidthPopup.hxx @@ -19,7 +19,6 @@ #ifndef INCLUDED_SVX_SOURCE_SIDEBAR_LINE_LINEWIDTHPOPUP_HXX #define INCLUDED_SVX_SOURCE_SIDEBAR_LINE_LINEWIDTHPOPUP_HXX -#include <svl/poolitem.hxx> #include <vcl/floatwin.hxx> #include <vcl/layout.hxx> #include <array> diff --git a/include/svx/sidebar/PanelLayout.hxx b/include/svx/sidebar/PanelLayout.hxx index ddb52b172b33..6439ed51afdb 100644 --- a/include/svx/sidebar/PanelLayout.hxx +++ b/include/svx/sidebar/PanelLayout.hxx @@ -16,10 +16,8 @@ #include <vcl/ctrl.hxx> #include <vcl/timer.hxx> #include <vcl/idle.hxx> -#include <vcl/vclptr.hxx> #include <vcl/weld.hxx> -#include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/frame/XFrame.hpp> /// This class is the base for the Widget Layout-based sidebar panels. diff --git a/include/svx/sidebar/SelectionChangeHandler.hxx b/include/svx/sidebar/SelectionChangeHandler.hxx index 45dce18525b9..778a742e6c13 100644 --- a/include/svx/sidebar/SelectionChangeHandler.hxx +++ b/include/svx/sidebar/SelectionChangeHandler.hxx @@ -22,7 +22,6 @@ #include <svx/svxdllapi.h> #include <vcl/EnumContext.hxx> #include <com/sun/star/frame/XController.hpp> -#include <com/sun/star/view/XSelectionSupplier.hpp> #include <com/sun/star/view/XSelectionChangeListener.hpp> #include <cppuhelper/compbase.hxx> diff --git a/include/svx/sidebar/SidebarDialControl.hxx b/include/svx/sidebar/SidebarDialControl.hxx index c5f4fd85d7f8..0b2d8bce1b7d 100644 --- a/include/svx/sidebar/SidebarDialControl.hxx +++ b/include/svx/sidebar/SidebarDialControl.hxx @@ -20,7 +20,6 @@ #define INCLUDED_SVX_SIDEBAR_SIDEBARDIALCONTROL_HXX #include <svx/dialcontrol.hxx> -#include <vcl/field.hxx> namespace svx { namespace sidebar { diff --git a/include/svx/sidebar/ValueSetWithTextControl.hxx b/include/svx/sidebar/ValueSetWithTextControl.hxx index b76872f54a63..834aa75ab83c 100644 --- a/include/svx/sidebar/ValueSetWithTextControl.hxx +++ b/include/svx/sidebar/ValueSetWithTextControl.hxx @@ -22,8 +22,6 @@ #include <svx/svxdllapi.h> #include <svtools/valueset.hxx> -#include <limits.h> -#include <vcl/image.hxx> #include <vector> diff --git a/svx/source/sidebar/SelectionChangeHandler.cxx b/svx/source/sidebar/SelectionChangeHandler.cxx index 9858820d6a36..ba00836deb22 100644 --- a/svx/source/sidebar/SelectionChangeHandler.cxx +++ b/svx/source/sidebar/SelectionChangeHandler.cxx @@ -21,6 +21,8 @@ #include <svx/sidebar/ContextChangeEventMultiplexer.hxx> #include <svx/svdmrkv.hxx> +#include <com/sun/star/view/XSelectionSupplier.hpp> + #include <vcl/EnumContext.hxx> #include <sfx2/shell.hxx> diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx index 4c7a15c9f9a9..ecb49437617d 100644 --- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx +++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx @@ -20,6 +20,7 @@ #include <sfx2/sidebar/SidebarController.hxx> #include <sfx2/sidebar/ControlFactory.hxx> #include <svx/sidebar/AreaPropertyPanelBase.hxx> +#include <svx/drawitem.hxx> #include <svx/svxids.hrc> #include <sfx2/objsh.hxx> #include <svx/xfltrit.hxx> diff --git a/svx/source/sidebar/line/LinePropertyPanelBase.cxx b/svx/source/sidebar/line/LinePropertyPanelBase.cxx index 0a8c3fc999ae..890203b82802 100644 --- a/svx/source/sidebar/line/LinePropertyPanelBase.cxx +++ b/svx/source/sidebar/line/LinePropertyPanelBase.cxx @@ -18,6 +18,7 @@ */ #include <memory> +#include <osl/diagnose.h> #include <sfx2/sidebar/ControlFactory.hxx> #include <svx/sidebar/LinePropertyPanelBase.hxx> #include <sfx2/sidebar/SidebarToolBox.hxx> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits