diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-11-30 01:31:19 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2018-12-14 09:39:29 +0100 |
commit | 117d91cfb4a11b9fc71ca58fc60345c6b05dd5aa (patch) | |
tree | 47c899b06cf1321bd47267f8baa70074c7776ec2 /chart2/source/controller/itemsetwrapper | |
parent | 1d17cab6becbf24187633761b953c43b0800bb49 (diff) |
tdf#42949 Fix IWYU warnings in chart2/source/controller/*/cxx (1)
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Cleaned directories are:
accessibility, drawinglayer, itemsetwrapper, main, sidebar
Change-Id: I612eae9dec636d57a3a3a00102d74b964da5b54c
Reviewed-on: https://gerrit.libreoffice.org/64307
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'chart2/source/controller/itemsetwrapper')
14 files changed, 3 insertions, 65 deletions
diff --git a/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx b/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx index 5768c108a8c9..3bf6b3aaa800 100644 --- a/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx @@ -48,8 +48,6 @@ #include <svl/intitem.hxx> #include <rtl/math.hxx> -#include <algorithm> - using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx b/chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx index ffd3dbf5f8c8..4e100bfb9822 100644 --- a/chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx @@ -25,14 +25,12 @@ #include <editeng/eeitem.hxx> #include <editeng/udlnitem.hxx> #include <editeng/fontitem.hxx> -#include <editeng/crossedoutitem.hxx> #include <editeng/postitem.hxx> #include <editeng/wghtitem.hxx> #include <editeng/fhgtitem.hxx> #include <o3tl/any.hxx> #include <svl/stritem.hxx> -#include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/chart2/XFormattedString.hpp> #include <tools/diagnose_ex.h> diff --git a/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx b/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx index 5dc89f2aafd1..343bd62d3e45 100644 --- a/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx @@ -31,7 +31,6 @@ #include <ChartTypeHelper.hxx> #include <unonames.hxx> -#include <svx/chrtitem.hxx> #include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/chart2/DataPointLabel.hpp> #include <com/sun/star/chart2/Symbol.hpp> @@ -45,12 +44,9 @@ #include <editeng/brushitem.hxx> #include <svl/ilstitem.hxx> #include <vcl/graph.hxx> -#include <com/sun/star/graphic/XGraphic.hpp> #include <svx/tabline.hxx> -#include <functional> -#include <algorithm> #include <memory> using namespace ::com::sun::star; diff --git a/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx b/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx index a54dee05fc67..d159932af642 100644 --- a/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/ErrorBarItemConverter.cxx @@ -19,31 +19,19 @@ #include <ErrorBarItemConverter.hxx> #include "SchWhichPairs.hxx" -#include <ItemPropertyMap.hxx> -#include <ErrorBar.hxx> -#include <PropertyHelper.hxx> -#include <ChartModelHelper.hxx> -#include <ChartTypeHelper.hxx> #include <StatisticsHelper.hxx> #include <GraphicPropertyItemConverter.hxx> #include <svl/stritem.hxx> #include <svx/chrtitem.hxx> -#include <svl/intitem.hxx> #include <rtl/math.hxx> -#include <com/sun/star/chart2/DataPointLabel.hpp> #include <com/sun/star/chart2/XInternalDataProvider.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> #include <com/sun/star/chart/ErrorBarStyle.hpp> -#include <com/sun/star/lang/XServiceName.hpp> #include <tools/diagnose_ex.h> -#include <functional> -#include <algorithm> -#include <vector> - using namespace ::com::sun::star; namespace diff --git a/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx b/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx index fa7a0d319b04..e709a0f397af 100644 --- a/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter.cxx @@ -23,8 +23,6 @@ #include <PropertyHelper.hxx> #include <CommonConverters.hxx> #include <editeng/memberids.h> -#include <svx/xflclit.hxx> -#include <svx/xlnclit.hxx> #include <svx/xflbmtit.hxx> #include <svx/xflbstit.hxx> #include <svx/xbtmpit.hxx> @@ -34,13 +32,10 @@ #include <svx/xflgrit.hxx> #include <svx/xfltrit.hxx> #include <svx/xlntrit.hxx> -#include <editeng/eeitem.hxx> -#include <svl/eitem.hxx> #include <svx/xgrscit.hxx> #include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/chart2/FillBitmap.hpp> -#include <com/sun/star/awt/Gradient.hpp> +#include <com/sun/star/drawing/BitmapMode.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <tools/diagnose_ex.h> diff --git a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx index a463fc176b82..6fd5ac749a1f 100644 --- a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx @@ -22,7 +22,6 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <osl/diagnose.h> #include <svl/itempool.hxx> -#include <svl/itemprop.hxx> #include <svl/itemiter.hxx> #include <svl/whiter.hxx> #include <svx/svxids.hrc> diff --git a/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx b/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx index 888b2c4ea476..58251f381628 100644 --- a/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx @@ -19,10 +19,8 @@ #include <LegendItemConverter.hxx> #include "SchWhichPairs.hxx" -#include <ItemPropertyMap.hxx> #include <GraphicPropertyItemConverter.hxx> #include <CharacterPropertyItemConverter.hxx> -#include <com/sun/star/chart2/XLegend.hpp> #include <com/sun/star/chart2/LegendPosition.hpp> #include <com/sun/star/chart/ChartLegendExpansion.hpp> #include <com/sun/star/beans/XPropertySet.hpp> @@ -31,8 +29,6 @@ #include <svl/eitem.hxx> #include <tools/diagnose_ex.h> -#include <functional> -#include <algorithm> #include <memory> using namespace ::com::sun::star; diff --git a/chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx b/chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx index 9439dcc2ceb1..af20548504b8 100644 --- a/chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx +++ b/chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx @@ -19,7 +19,6 @@ #include <MultipleChartConverters.hxx> -#include <chartview/ChartSfxItemIds.hxx> #include "SchWhichPairs.hxx" #include <AxisItemConverter.hxx> #include <StatisticsItemConverter.hxx> @@ -30,9 +29,9 @@ #include <TitleItemConverter.hxx> #include <AxisHelper.hxx> #include <chartview/ExplicitValueProvider.hxx> -#include <DiagramHelper.hxx> #include <com/sun/star/chart2/XChartDocument.hpp> #include <com/sun/star/util/XNumberFormatsSupplier.hpp> +#include <com/sun/star/chart2/XAxis.hpp> using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; diff --git a/chart2/source/controller/itemsetwrapper/MultipleItemConverter.cxx b/chart2/source/controller/itemsetwrapper/MultipleItemConverter.cxx index 0e0b33c151de..c060d64decf5 100644 --- a/chart2/source/controller/itemsetwrapper/MultipleItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/MultipleItemConverter.cxx @@ -18,9 +18,7 @@ */ #include <MultipleItemConverter.hxx> -#include <ItemPropertyMap.hxx> -#include <algorithm> #include <memory> using namespace ::com::sun::star; diff --git a/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx b/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx index 9842121c170c..2173620bf37b 100644 --- a/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx @@ -20,7 +20,6 @@ #include <RegressionCurveHelper.hxx> #include <RegressionCurveItemConverter.hxx> #include "SchWhichPairs.hxx" -#include <ItemPropertyMap.hxx> #include <GraphicPropertyItemConverter.hxx> #include <com/sun/star/chart2/XRegressionCurve.hpp> @@ -30,9 +29,6 @@ #include <svl/intitem.hxx> #include <svl/stritem.hxx> -#include <functional> -#include <algorithm> - using namespace ::com::sun::star; namespace diff --git a/chart2/source/controller/itemsetwrapper/RegressionEquationItemConverter.cxx b/chart2/source/controller/itemsetwrapper/RegressionEquationItemConverter.cxx index 6dbdece70632..5958b362a3fb 100644 --- a/chart2/source/controller/itemsetwrapper/RegressionEquationItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/RegressionEquationItemConverter.cxx @@ -22,15 +22,11 @@ #include <ItemPropertyMap.hxx> #include <GraphicPropertyItemConverter.hxx> #include <CharacterPropertyItemConverter.hxx> -#include <MultipleItemConverter.hxx> #include <unonames.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <svl/intitem.hxx> -#include <rtl/math.hxx> -#include <functional> -#include <algorithm> #include <memory> using namespace ::com::sun::star; diff --git a/chart2/source/controller/itemsetwrapper/SeriesOptionsItemConverter.cxx b/chart2/source/controller/itemsetwrapper/SeriesOptionsItemConverter.cxx index b289a16423ae..6dd64d069a96 100644 --- a/chart2/source/controller/itemsetwrapper/SeriesOptionsItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/SeriesOptionsItemConverter.cxx @@ -20,9 +20,6 @@ #include <SeriesOptionsItemConverter.hxx> #include "SchWhichPairs.hxx" -#include <ItemPropertyMap.hxx> -#include <GraphicPropertyItemConverter.hxx> -#include <MultipleItemConverter.hxx> #include <ChartModelHelper.hxx> #include <AxisHelper.hxx> #include <DiagramHelper.hxx> @@ -30,19 +27,14 @@ #include <DataSeriesHelper.hxx> #include <ChartModel.hxx> -#include <com/sun/star/chart/MissingValueTreatment.hpp> #include <com/sun/star/chart2/XDataSeries.hpp> #include <svl/eitem.hxx> #include <svl/intitem.hxx> #include <svl/ilstitem.hxx> -#include <rtl/math.hxx> #include <tools/diagnose_ex.h> #include <sal/log.hxx> -#include <functional> -#include <algorithm> - using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; diff --git a/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx b/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx index 39838143aac0..6d6a9f6788bd 100644 --- a/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/StatisticsItemConverter.cxx @@ -20,14 +20,9 @@ #include <StatisticsItemConverter.hxx> #include "SchWhichPairs.hxx" #include <RegressionCurveHelper.hxx> -#include <ItemPropertyMap.hxx> #include <ErrorBar.hxx> -#include <PropertyHelper.hxx> -#include <ChartModelHelper.hxx> -#include <ChartTypeHelper.hxx> #include <StatisticsHelper.hxx> -#include <GraphicPropertyItemConverter.hxx> #include <unonames.hxx> #include <svl/stritem.hxx> @@ -35,18 +30,12 @@ #include <svl/intitem.hxx> #include <rtl/math.hxx> -#include <com/sun/star/chart2/DataPointLabel.hpp> #include <com/sun/star/chart2/XInternalDataProvider.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> #include <com/sun/star/chart2/XRegressionCurveContainer.hpp> #include <com/sun/star/chart/ErrorBarStyle.hpp> -#include <com/sun/star/lang/XServiceName.hpp> #include <tools/diagnose_ex.h> -#include <functional> -#include <algorithm> -#include <vector> - using namespace ::com::sun::star; namespace diff --git a/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx b/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx index dabbeb5f45d3..be5cdb2b9c95 100644 --- a/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx @@ -26,11 +26,9 @@ #include <svl/intitem.hxx> #include <rtl/math.hxx> -#include <com/sun/star/chart2/XTitled.hpp> +#include <com/sun/star/chart2/XTitle.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <functional> -#include <algorithm> #include <memory> using namespace ::com::sun::star; |