diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2021-12-31 16:52:16 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-01-13 08:26:15 +0100 |
commit | 840b4eb2f3443ff883016e6a8a8ae49e9cbd9e4e (patch) | |
tree | a6de1d9baaa9f3e9532714e8105f73160fb1a555 /chart2 | |
parent | 8d2bf9b679dec223a78e1fd8f3684f76c5802bae (diff) |
Recheck modules [a-c]* with IWYU
See tdf#42949 for motivation
Change-Id: I74a3c3a67c3639376e2251c3eb917fa4139dfbd0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127808
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'chart2')
48 files changed, 19 insertions, 99 deletions
diff --git a/chart2/IwyuFilter_chart2.yaml b/chart2/IwyuFilter_chart2.yaml index 7d037d908820..158680ac2512 100644 --- a/chart2/IwyuFilter_chart2.yaml +++ b/chart2/IwyuFilter_chart2.yaml @@ -690,6 +690,9 @@ excludelist: chart2/source/controller/main/ChartModelClone.hxx: # Needed for implicit dtor - com/sun/star/uno/Any.hxx + chart2/source/controller/main/ChartController.cxx: + # Needed for implicit dtor + - com/sun/star/awt/XWindowPeer.hpp chart2/source/controller/main/ChartFrameloader.hxx: # base class has to be a complete type - com/sun/star/frame/XSynchronousFrameLoader.hpp diff --git a/chart2/inc/chart.hrc b/chart2/inc/chart.hrc index a43ce2a78993..b1e0024fb7cc 100644 --- a/chart2/inc/chart.hrc +++ b/chart2/inc/chart.hrc @@ -9,6 +9,8 @@ #pragma once +#include <unotools/resmgr.hxx> + #define NC_(Context, String) TranslateId(Context, reinterpret_cast<char const *>(u8##String)) const TranslateId CHART_TYPE[] = diff --git a/chart2/inc/unonames.hxx b/chart2/inc/unonames.hxx index 32db759716a3..12b35914a6f5 100644 --- a/chart2/inc/unonames.hxx +++ b/chart2/inc/unonames.hxx @@ -9,6 +9,8 @@ #pragma once +#include <rtl/ustring.hxx> + inline constexpr OUStringLiteral CHART_UNONAME_SORT_BY_XVALUES = u"SortByXValues"; inline constexpr OUStringLiteral CHART_UNONAME_SPLINE_TYPE = u"SplineType"; inline constexpr OUStringLiteral CHART_UNONAME_SPLINE_ORDER = u"SplineOrder"; diff --git a/chart2/qa/extras/chart2dump/chart2dump.cxx b/chart2/qa/extras/chart2dump/chart2dump.cxx index 4d40c9cc3f8b..bae904d4faf3 100644 --- a/chart2/qa/extras/chart2dump/chart2dump.cxx +++ b/chart2/qa/extras/chart2dump/chart2dump.cxx @@ -17,7 +17,6 @@ #include <com/sun/star/drawing/FillStyle.hpp> #include <editeng/unoprnms.hxx> -#include <test/xmltesttools.hxx> #include <rtl/ustring.hxx> #include <rtl/ustrbuf.hxx> diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx index 78529b9423c9..a5c2e20cc58c 100644 --- a/chart2/qa/extras/chart2export.cxx +++ b/chart2/qa/extras/chart2export.cxx @@ -11,9 +11,6 @@ #include <com/sun/star/chart/ErrorBarStyle.hpp> #include <com/sun/star/chart2/XRegressionCurveContainer.hpp> -#include <com/sun/star/chart2/XDataPointCustomLabelField.hpp> -#include <com/sun/star/chart2/DataPointCustomLabelFieldType.hpp> -#include <com/sun/star/chart2/RelativePosition.hpp> #include <com/sun/star/chart2/MovingAverageType.hpp> #include <com/sun/star/lang/XServiceName.hpp> #include <com/sun/star/text/XTextDocument.hpp> @@ -22,10 +19,6 @@ #include <com/sun/star/chart2/DataPointLabel.hpp> #include <com/sun/star/chart/DataLabelPlacement.hpp> -#include <libxml/xpathInternals.h> - -#include <algorithm> - using uno::Reference; using beans::XPropertySet; diff --git a/chart2/qa/extras/chart2export2.cxx b/chart2/qa/extras/chart2export2.cxx index 588cbe1d84f2..1fa862291459 100644 --- a/chart2/qa/extras/chart2export2.cxx +++ b/chart2/qa/extras/chart2export2.cxx @@ -9,24 +9,14 @@ #include "charttest.hxx" -#include <com/sun/star/chart/ErrorBarStyle.hpp> -#include <com/sun/star/chart2/XRegressionCurveContainer.hpp> #include <com/sun/star/chart2/XDataPointCustomLabelField.hpp> #include <com/sun/star/chart2/DataPointCustomLabelFieldType.hpp> #include <com/sun/star/chart2/RelativePosition.hpp> -#include <com/sun/star/chart2/MovingAverageType.hpp> -#include <com/sun/star/lang/XServiceName.hpp> -#include <com/sun/star/text/XTextDocument.hpp> -#include <com/sun/star/drawing/LineStyle.hpp> -#include <com/sun/star/drawing/FillStyle.hpp> +#include <com/sun/star/text/XText.hpp> #include <com/sun/star/chart2/DataPointLabel.hpp> #include <com/sun/star/chart/DataLabelPlacement.hpp> #include <com/sun/star/graphic/XGraphic.hpp> -#include <libxml/xpathInternals.h> - -#include <algorithm> - using uno::Reference; using beans::XPropertySet; diff --git a/chart2/qa/extras/chart2geometry.cxx b/chart2/qa/extras/chart2geometry.cxx index bcfa0d7276af..f460ac467621 100644 --- a/chart2/qa/extras/chart2geometry.cxx +++ b/chart2/qa/extras/chart2geometry.cxx @@ -15,14 +15,9 @@ #include <com/sun/star/chart2/XDataSeries.hpp> #include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/drawing/LineStyle.hpp> -#include <com/sun/star/packages/zip/ZipFileAccess.hpp> -#include <unotools/ucbstreamhelper.hxx> #include <unotools/saveopt.hxx> -#include <libxml/xpathInternals.h> - -#include <algorithm> #include <string_view> using uno::Reference; diff --git a/chart2/qa/extras/chart2import.cxx b/chart2/qa/extras/chart2import.cxx index e908cfc57a71..0b4f6d89303e 100644 --- a/chart2/qa/extras/chart2import.cxx +++ b/chart2/qa/extras/chart2import.cxx @@ -12,7 +12,6 @@ #include <com/sun/star/chart2/DataPointLabel.hpp> #include <com/sun/star/chart2/XDataPointCustomLabelField.hpp> #include <com/sun/star/chart2/DataPointCustomLabelFieldType.hpp> -#include <com/sun/star/chart2/RelativePosition.hpp> #include <com/sun/star/chart/ErrorBarStyle.hpp> #include <com/sun/star/chart2/XRegressionCurveContainer.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> @@ -29,9 +28,7 @@ #include <com/sun/star/chart2/Symbol.hpp> #include <com/sun/star/chart2/data/XTextualDataSequence.hpp> #include <com/sun/star/chart/DataLabelPlacement.hpp> -#include <com/sun/star/chart/XDateCategories.hpp> #include <com/sun/star/text/XTextRange.hpp> -#include <com/sun/star/util/NumberFormatter.hpp> #include <iterator> #include <com/sun/star/util/Color.hpp> diff --git a/chart2/qa/extras/chart2import2.cxx b/chart2/qa/extras/chart2import2.cxx index 0693a1e64184..f84254c30c2a 100644 --- a/chart2/qa/extras/chart2import2.cxx +++ b/chart2/qa/extras/chart2import2.cxx @@ -8,33 +8,16 @@ */ #include "charttest.hxx" -#include <com/sun/star/chart2/CurveStyle.hpp> #include <com/sun/star/chart2/DataPointLabel.hpp> #include <com/sun/star/chart2/XDataPointCustomLabelField.hpp> #include <com/sun/star/chart2/DataPointCustomLabelFieldType.hpp> #include <com/sun/star/chart2/RelativePosition.hpp> -#include <com/sun/star/chart/ErrorBarStyle.hpp> -#include <com/sun/star/chart2/XRegressionCurveContainer.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> #include <com/sun/star/chart/XChartDocument.hpp> #include <com/sun/star/chart2/XInternalDataProvider.hpp> -#include <com/sun/star/chart/XChartDataArray.hpp> -#include <com/sun/star/drawing/FillStyle.hpp> -#include <com/sun/star/drawing/LineStyle.hpp> #include <com/sun/star/chart/XAxisXSupplier.hpp> -#include <com/sun/star/chart/XAxisYSupplier.hpp> -#include <com/sun/star/chart/MissingValueTreatment.hpp> -#include <com/sun/star/chart2/TickmarkStyle.hpp> -#include <com/sun/star/chart2/SymbolStyle.hpp> -#include <com/sun/star/chart2/Symbol.hpp> -#include <com/sun/star/chart2/data/XTextualDataSequence.hpp> #include <com/sun/star/chart/DataLabelPlacement.hpp> -#include <com/sun/star/text/XTextRange.hpp> -#include <iterator> - -#include <com/sun/star/util/Color.hpp> -#include <com/sun/star/awt/Gradient.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/text/XText.hpp> class Chart2ImportTest2 : public ChartTest { diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx index 7de1b376b3ef..712ef0613c26 100644 --- a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx @@ -27,7 +27,6 @@ #include <com/sun/star/chart2/RelativePosition.hpp> #include <com/sun/star/chart2/XTitle.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> -#include <com/sun/star/frame/XModel.hpp> #include <CharacterProperties.hxx> #include <LinePropertiesHelper.hxx> diff --git a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx index e48875d7c7a2..d27f05350732 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx @@ -31,7 +31,6 @@ #include <vcl/GraphicLoader.hxx> #include <vcl/graph.hxx> -#include <vcl/outdev.hxx> #include <tools/diagnose_ex.h> using namespace ::com::sun::star; diff --git a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx index 94d0e9034619..5751cc15b69b 100644 --- a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx +++ b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx @@ -47,7 +47,6 @@ #include <com/sun/star/chart2/AxisType.hpp> #include <com/sun/star/chart2/XAxis.hpp> #include <svl/intitem.hxx> -#include <svl/languageoptions.hxx> #include <svl/ctloptions.hxx> #include <svx/svxids.hrc> diff --git a/chart2/source/controller/dialogs/res_Trendline.cxx b/chart2/source/controller/dialogs/res_Trendline.cxx index baa75ef7cb4f..ca1fe7bcfb83 100644 --- a/chart2/source/controller/dialogs/res_Trendline.cxx +++ b/chart2/source/controller/dialogs/res_Trendline.cxx @@ -26,7 +26,6 @@ #include <svl/intitem.hxx> #include <svl/numformat.hxx> #include <svl/stritem.hxx> -#include <svl/zforlist.hxx> #include <vcl/formatter.hxx> #include <vcl/weld.hxx> diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx b/chart2/source/controller/dialogs/tp_AxisLabel.cxx index 9871bfa4187a..1ee392238141 100644 --- a/chart2/source/controller/dialogs/tp_AxisLabel.cxx +++ b/chart2/source/controller/dialogs/tp_AxisLabel.cxx @@ -24,7 +24,6 @@ #include <svx/chrtitem.hxx> #include <svx/sdangitm.hxx> -#include <svl/intitem.hxx> #include <editeng/eeitem.hxx> #include <editeng/frmdiritem.hxx> diff --git a/chart2/source/controller/dialogs/tp_PolarOptions.cxx b/chart2/source/controller/dialogs/tp_PolarOptions.cxx index 59422b3a613e..ed4172d68110 100644 --- a/chart2/source/controller/dialogs/tp_PolarOptions.cxx +++ b/chart2/source/controller/dialogs/tp_PolarOptions.cxx @@ -21,7 +21,6 @@ #include <chartview/ChartSfxItemIds.hxx> #include <svl/eitem.hxx> -#include <svl/intitem.hxx> #include <svx/sdangitm.hxx> #include <officecfg/Office/Compatibility.hxx> diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.cxx b/chart2/source/controller/dialogs/tp_TitleRotation.cxx index 8ff1c926d091..ed99a9a39501 100644 --- a/chart2/source/controller/dialogs/tp_TitleRotation.cxx +++ b/chart2/source/controller/dialogs/tp_TitleRotation.cxx @@ -24,7 +24,6 @@ #include <editeng/eeitem.hxx> #include <editeng/frmdiritem.hxx> -#include <svl/intitem.hxx> #include <svx/sdangitm.hxx> namespace chart diff --git a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx index afa919b1e3ec..3918a296e638 100644 --- a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx +++ b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx @@ -22,6 +22,7 @@ #include <ConfigurationAccess.hxx> #include <unotools/lingucfg.hxx> +#include <editeng/eeitem.hxx> #include <editeng/langitem.hxx> #include <svl/intitem.hxx> #include <svl/itempool.hxx> @@ -31,10 +32,11 @@ #include <svx/svdetc.hxx> #include <svx/svdoutl.hxx> #include <svx/svxids.hrc> -#include <svx/unoshape.hxx> #include <editeng/fhgtitem.hxx> +#include <osl/diagnose.h> #include <com/sun/star/frame/XModel.hpp> +#include <com/sun/star/drawing/XShape.hpp> #include <sfx2/objsh.hxx> #include <svx/helperhittest3d.hxx> diff --git a/chart2/source/controller/inc/helpids.h b/chart2/source/controller/inc/helpids.h index fe502262339a..69a23771c8dd 100644 --- a/chart2/source/controller/inc/helpids.h +++ b/chart2/source/controller/inc/helpids.h @@ -19,6 +19,8 @@ #pragma once +#include <rtl/string.hxx> + inline constexpr OStringLiteral HID_SCH_WIN_DOCUMENT = "CHART2_HID_SCH_WIN_DOCUMENT"; inline constexpr OStringLiteral HID_SCH_ERROR_BARS_FROM_DATA = "CHART2_SCH_ERROR_BARS_FROM_DATA"; diff --git a/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx b/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx index 990120a97a04..85f2768a33d6 100644 --- a/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/DataPointItemConverter.cxx @@ -50,7 +50,6 @@ #include <svx/sdangitm.hxx> #include <tools/diagnose_ex.h> #include <vcl/graph.hxx> -#include <oox/helper/containerhelper.hxx> #include <rtl/math.hxx> #include <svx/tabline.hxx> diff --git a/chart2/source/controller/itemsetwrapper/SchWhichPairs.hxx b/chart2/source/controller/itemsetwrapper/SchWhichPairs.hxx index 0792df7b624e..3c1387009afd 100644 --- a/chart2/source/controller/itemsetwrapper/SchWhichPairs.hxx +++ b/chart2/source/controller/itemsetwrapper/SchWhichPairs.hxx @@ -18,6 +18,7 @@ */ #pragma once +#include <svl/whichranges.hxx> #include <svx/svxids.hrc> #include <svx/xdef.hxx> #include <svx/svddef.hxx> diff --git a/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx b/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx index 95fa5147433f..605eb07b4692 100644 --- a/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx @@ -23,7 +23,6 @@ #include <GraphicPropertyItemConverter.hxx> #include <CharacterPropertyItemConverter.hxx> #include <MultipleItemConverter.hxx> -#include <svl/intitem.hxx> #include <svx/sdangitm.hxx> #include <rtl/math.hxx> diff --git a/chart2/source/controller/main/ChartController_Tools.cxx b/chart2/source/controller/main/ChartController_Tools.cxx index d88d9c424da5..7f86b0aaa799 100644 --- a/chart2/source/controller/main/ChartController_Tools.cxx +++ b/chart2/source/controller/main/ChartController_Tools.cxx @@ -44,7 +44,6 @@ #include <com/sun/star/chart2/DataPointLabel.hpp> #include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/graphic/XGraphic.hpp> -#include <com/sun/star/text/XTextRange.hpp> #include <com/sun/star/drawing/TextVerticalAdjust.hpp> #include <com/sun/star/drawing/TextHorizontalAdjust.hpp> #include <com/sun/star/chart/ErrorBarStyle.hpp> @@ -71,7 +70,6 @@ #include <svx/unopage.hxx> #include <svx/unoshape.hxx> #include <svx/xgrad.hxx> -#include <svx/xflgrit.hxx> #include <PropertyHelper.hxx> #include <LibreOfficeKit/LibreOfficeKitEnums.h> diff --git a/chart2/source/controller/main/ObjectHierarchy.cxx b/chart2/source/controller/main/ObjectHierarchy.cxx index 7ed950e05ebc..a287c0f608ef 100644 --- a/chart2/source/controller/main/ObjectHierarchy.cxx +++ b/chart2/source/controller/main/ObjectHierarchy.cxx @@ -34,7 +34,6 @@ #include <algorithm> #include <iterator> -#include <com/sun/star/drawing/XDrawPage.hpp> #include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/chart2/XTitled.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> diff --git a/chart2/source/controller/main/ShapeController.cxx b/chart2/source/controller/main/ShapeController.cxx index 924e4d9a6690..acdcb78ce045 100644 --- a/chart2/source/controller/main/ShapeController.cxx +++ b/chart2/source/controller/main/ShapeController.cxx @@ -24,7 +24,6 @@ #include <dlg_ShapeFont.hxx> #include <dlg_ShapeParagraph.hxx> #include <chartview/DrawModelWrapper.hxx> -#include <com/sun/star/drawing/XDrawPage.hpp> #include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/frame/CommandGroup.hpp> #include <com/sun/star/frame/XStorable.hpp> diff --git a/chart2/source/inc/NumberFormatterWrapper.hxx b/chart2/source/inc/NumberFormatterWrapper.hxx index b9db9fc1943e..c3412fc9c91c 100644 --- a/chart2/source/inc/NumberFormatterWrapper.hxx +++ b/chart2/source/inc/NumberFormatterWrapper.hxx @@ -20,7 +20,6 @@ #include "charttoolsdllapi.hxx" #include <com/sun/star/util/XNumberFormatsSupplier.hpp> -#include <tools/solar.h> #include <tools/date.hxx> class SvNumberFormatter; diff --git a/chart2/source/inc/chartview/DataPointSymbolSupplier.hxx b/chart2/source/inc/chartview/DataPointSymbolSupplier.hxx index 6e25a84520d9..58d8a9ff2e4d 100644 --- a/chart2/source/inc/chartview/DataPointSymbolSupplier.hxx +++ b/chart2/source/inc/chartview/DataPointSymbolSupplier.hxx @@ -20,7 +20,6 @@ #pragma once #include <chartview/chartviewdllapi.hxx> -#include <com/sun/star/uno/Reference.h> #include <rtl/ref.hxx> #include <svx/unoshape.hxx> diff --git a/chart2/source/inc/servicenames_charttypes.hxx b/chart2/source/inc/servicenames_charttypes.hxx index 367af08ea8c2..0c06c2d3ea57 100644 --- a/chart2/source/inc/servicenames_charttypes.hxx +++ b/chart2/source/inc/servicenames_charttypes.hxx @@ -18,6 +18,8 @@ */ #pragma once +#include <rtl/ustring.hxx> + inline constexpr OUStringLiteral CHART2_SERVICE_NAME_CHARTTYPE_AREA = u"com.sun.star.chart2.AreaChartType"; inline constexpr OUStringLiteral CHART2_SERVICE_NAME_CHARTTYPE_BAR diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx index 6cc27d10f127..0f061c66121b 100644 --- a/chart2/source/model/filter/XMLFilter.cxx +++ b/chart2/source/model/filter/XMLFilter.cxx @@ -22,7 +22,6 @@ #include <officecfg/Office/Common.hxx> #include <svtools/sfxecode.hxx> -#include <unotools/saveopt.hxx> #include <comphelper/genericpropertyset.hxx> #include <comphelper/propertysetinfo.hxx> #include <comphelper/documentconstants.hxx> diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index e5e518b63818..4c67110264ed 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -55,7 +55,6 @@ #include <com/sun/star/chart2/XChartTypeTemplate.hpp> #include <sal/log.hxx> -#include <svl/zforlist.hxx> #include <tools/diagnose_ex.h> #include <libxml/xmlwriter.h> diff --git a/chart2/source/tools/NumberFormatterWrapper.cxx b/chart2/source/tools/NumberFormatterWrapper.cxx index f5bef49d19de..d6e704d145d6 100644 --- a/chart2/source/tools/NumberFormatterWrapper.cxx +++ b/chart2/source/tools/NumberFormatterWrapper.cxx @@ -20,7 +20,6 @@ #include <NumberFormatterWrapper.hxx> #include <svl/numformat.hxx> #include <svl/numuno.hxx> -#include <svl/zforlist.hxx> #include <tools/color.hxx> #include <com/sun/star/util/Date.hpp> #include <osl/diagnose.h> diff --git a/chart2/source/tools/OPropertySet.cxx b/chart2/source/tools/OPropertySet.cxx index cb48610c359b..bcf92741f4b5 100644 --- a/chart2/source/tools/OPropertySet.cxx +++ b/chart2/source/tools/OPropertySet.cxx @@ -24,7 +24,6 @@ #include <com/sun/star/style/XStyle.hpp> #include <algorithm> -#include <vector> #include <memory> using namespace ::com::sun::star; diff --git a/chart2/source/view/charttypes/BarChart.cxx b/chart2/source/view/charttypes/BarChart.cxx index 06e041e800df..8ac955266e9c 100644 --- a/chart2/source/view/charttypes/BarChart.cxx +++ b/chart2/source/view/charttypes/BarChart.cxx @@ -28,7 +28,6 @@ #include <Clipping.hxx> #include <DateHelper.hxx> #include <svx/scene3d.hxx> -#include <svx/unoshape.hxx> #include <comphelper/scopeguard.hxx> #include <com/sun/star/chart/DataLabelPlacement.hpp> diff --git a/chart2/source/view/charttypes/BubbleChart.cxx b/chart2/source/view/charttypes/BubbleChart.cxx index 9505e091e8b8..fc7fcdd2597b 100644 --- a/chart2/source/view/charttypes/BubbleChart.cxx +++ b/chart2/source/view/charttypes/BubbleChart.cxx @@ -26,8 +26,6 @@ #include <com/sun/star/chart/DataLabelPlacement.hpp> #include <sal/log.hxx> #include <osl/diagnose.h> -#include <com/sun/star/drawing/XShapes.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> #include <limits> diff --git a/chart2/source/view/charttypes/CandleStickChart.cxx b/chart2/source/view/charttypes/CandleStickChart.cxx index 2b636d3d83c3..44fcd600bd49 100644 --- a/chart2/source/view/charttypes/CandleStickChart.cxx +++ b/chart2/source/view/charttypes/CandleStickChart.cxx @@ -25,7 +25,6 @@ #include "BarPositionHelper.hxx" #include <DateHelper.hxx> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/drawing/XShape.hpp> #include <tools/diagnose_ex.h> #include <osl/diagnose.h> diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index 3cff976ac66f..76bb2d11f56a 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -71,8 +71,6 @@ #include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> -#include <com/sun/star/drawing/XShapes.hpp> - #include <unotools/localedatawrapper.hxx> #include <comphelper/sequence.hxx> #include <vcl/svapp.hxx> diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx index 284950f38203..8deea35e2d48 100644 --- a/chart2/source/view/diagram/VDiagram.cxx +++ b/chart2/source/view/diagram/VDiagram.cxx @@ -29,8 +29,6 @@ #include <ThreeDHelper.hxx> #include <defines.hxx> #include <editeng/unoprnms.hxx> -#include <com/sun/star/lang/XTypeProvider.hpp> -#include <svx/unoshape.hxx> #include <svx/scene3d.hxx> #include <svx/e3dsceneupdater.hxx> #include <tools/diagnose_ex.h> diff --git a/chart2/source/view/inc/LegendEntryProvider.hxx b/chart2/source/view/inc/LegendEntryProvider.hxx index e695a7af86c9..e0133771cd27 100644 --- a/chart2/source/view/inc/LegendEntryProvider.hxx +++ b/chart2/source/view/inc/LegendEntryProvider.hxx @@ -19,6 +19,7 @@ #pragma once #include <com/sun/star/chart2/LegendPosition.hpp> +#include <com/sun/star/chart2/XFormattedString2.hpp> #include <com/sun/star/awt/Size.hpp> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Sequence.h> @@ -28,7 +29,6 @@ namespace chart { class ChartModel; } namespace com::sun::star::beans { class XPropertySet; } -namespace com::sun::star::chart2 { class XFormattedString2; } namespace com::sun::star::drawing { class XShape; } namespace com::sun::star::drawing { class XShapes; } namespace com::sun::star::lang { class XMultiServiceFactory; } diff --git a/chart2/source/view/inc/PlotterBase.hxx b/chart2/source/view/inc/PlotterBase.hxx index bb377c76167d..73695507fd48 100644 --- a/chart2/source/view/inc/PlotterBase.hxx +++ b/chart2/source/view/inc/PlotterBase.hxx @@ -18,7 +18,6 @@ */ #pragma once -#include <com/sun/star/uno/Reference.h> #include <rtl/ustring.hxx> #include <svx/unoshape.hxx> #include <vector> diff --git a/chart2/source/view/inc/VDiagram.hxx b/chart2/source/view/inc/VDiagram.hxx index b508cdba88e0..7d8dd3069479 100644 --- a/chart2/source/view/inc/VDiagram.hxx +++ b/chart2/source/view/inc/VDiagram.hxx @@ -18,7 +18,6 @@ */ #pragma once -#include <com/sun/star/drawing/XShapes.hpp> #include <basegfx/range/b2irectangle.hxx> #include <com/sun/star/drawing/Direction3D.hpp> #include <com/sun/star/awt/Size.hpp> diff --git a/chart2/source/view/main/ChartItemPool.cxx b/chart2/source/view/main/ChartItemPool.cxx index fef1b1f8f2d0..37e78c116b76 100644 --- a/chart2/source/view/main/ChartItemPool.cxx +++ b/chart2/source/view/main/ChartItemPool.cxx @@ -21,7 +21,6 @@ #include <chartview/ChartSfxItemIds.hxx> #include <svx/chrtitem.hxx> #include <svx/sdangitm.hxx> -#include <svx/svdobj.hxx> #include <svx/svdpool.hxx> #include <svx/svx3ditems.hxx> #include <svl/intitem.hxx> diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index f1a3e32e760e..de9ffcc9d204 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -49,6 +49,7 @@ #include <defines.hxx> #include <unonames.hxx> #include <editeng/frmdiritem.hxx> +#include <editeng/eeitem.hxx> #include <tools/globname.hxx> #include <comphelper/fileformat.h> #include <comphelper/propertyvalue.hxx> @@ -59,7 +60,6 @@ #include <unotools/streamwrap.hxx> #include <svx/svdpage.hxx> #include <svx/unopage.hxx> -#include <svx/unoshape.hxx> #include <vcl/svapp.hxx> #include <osl/mutex.hxx> #include <svx/unofill.hxx> @@ -81,7 +81,6 @@ #include <com/sun/star/chart2/data/XPivotTableDataProvider.hpp> #include <com/sun/star/chart2/data/PivotTableFieldEntry.hpp> #include <com/sun/star/drawing/GraphicExportFilter.hpp> -#include <com/sun/star/drawing/XShapeGroup.hpp> #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/io/XSeekable.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> @@ -93,7 +92,6 @@ #include <com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp> #include <com/sun/star/view/XSelectionSupplier.hpp> #include <svl/itempool.hxx> -#include <svl/languageoptions.hxx> #include <svl/ctloptions.hxx> #include <comphelper/classids.hxx> #include <servicenames_charttypes.hxx> diff --git a/chart2/source/view/main/DrawModelWrapper.cxx b/chart2/source/view/main/DrawModelWrapper.cxx index f5d7e7e5ba81..aa7a002c967a 100644 --- a/chart2/source/view/main/DrawModelWrapper.cxx +++ b/chart2/source/view/main/DrawModelWrapper.cxx @@ -23,9 +23,6 @@ #include <ObjectIdentifier.hxx> #include <svx/unomodel.hxx> #include <svl/itempool.hxx> -#include <svl/eitem.hxx> -#include <editeng/eeitem.hxx> -#include <svx/svx3ditems.hxx> #include <svx/objfac3d.hxx> #include <svx/svdpage.hxx> #include <svx/xtable.hxx> @@ -36,8 +33,6 @@ #include <libxml/xmlwriter.h> #include <osl/diagnose.h> -#include <com/sun/star/container/XChild.hpp> - namespace com::sun::star::linguistic2 { class XHyphenator; } namespace com::sun::star::linguistic2 { class XSpellChecker1; } diff --git a/chart2/source/view/main/PlottingPositionHelper.cxx b/chart2/source/view/main/PlottingPositionHelper.cxx index 0a63747b0ecb..d4ed69579826 100644 --- a/chart2/source/view/main/PlottingPositionHelper.cxx +++ b/chart2/source/view/main/PlottingPositionHelper.cxx @@ -27,7 +27,6 @@ #include <com/sun/star/chart/TimeUnit.hpp> #include <com/sun/star/chart2/AxisType.hpp> -#include <com/sun/star/drawing/DoubleSequence.hpp> #include <com/sun/star/drawing/Position3D.hpp> #include <com/sun/star/drawing/XShapes.hpp> diff --git a/chart2/source/view/main/PropertyMapper.cxx b/chart2/source/view/main/PropertyMapper.cxx index 3003ca9ccfe9..d7c1dd8f1c99 100644 --- a/chart2/source/view/main/PropertyMapper.cxx +++ b/chart2/source/view/main/PropertyMapper.cxx @@ -30,7 +30,6 @@ #include <com/sun/star/drawing/LineStyle.hpp> #include <com/sun/star/drawing/RectanglePoint.hpp> #include <com/sun/star/style/ParagraphAdjust.hpp> -#include <comphelper/sequence.hxx> #include <tools/diagnose_ex.h> #include <svx/unoshape.hxx> #include <svx/svdopath.hxx> diff --git a/chart2/source/view/main/ShapeFactory.cxx b/chart2/source/view/main/ShapeFactory.cxx index 65edbda37094..c44988d58774 100644 --- a/chart2/source/view/main/ShapeFactory.cxx +++ b/chart2/source/view/main/ShapeFactory.cxx @@ -26,7 +26,6 @@ #include <PropertyMapper.hxx> #include <VLineProperties.hxx> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/beans/XMultiPropertySet.hpp> #include <com/sun/star/chart2/XFormattedString.hpp> #include <com/sun/star/drawing/CircleKind.hpp> #include <com/sun/star/drawing/DoubleSequence.hpp> @@ -39,13 +38,11 @@ #include <com/sun/star/drawing/TextHorizontalAdjust.hpp> #include <com/sun/star/drawing/TextureProjectionMode.hpp> #include <com/sun/star/drawing/TextVerticalAdjust.hpp> -#include <com/sun/star/drawing/XDrawPage.hpp> #include <com/sun/star/drawing/XShapes2.hpp> #include <com/sun/star/graphic/XGraphic.hpp> #include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/style/ParagraphAdjust.hpp> -#include <com/sun/star/text/XText.hpp> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Any.hxx> @@ -54,7 +51,6 @@ #include <basegfx/point/b2dpoint.hxx> #include <basegfx/matrix/b3dhommatrix.hxx> -#include <svx/unoprov.hxx> #include <svx/svdpage.hxx> #include <svx/svdopath.hxx> #include <tools/diagnose_ex.h> diff --git a/chart2/source/view/main/VButton.cxx b/chart2/source/view/main/VButton.cxx index c2aebd913b88..dc8e22c4961d 100644 --- a/chart2/source/view/main/VButton.cxx +++ b/chart2/source/view/main/VButton.cxx @@ -12,14 +12,10 @@ #include <ShapeFactory.hxx> #include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/drawing/LineStyle.hpp> -#include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/style/ParagraphAdjust.hpp> #include <com/sun/star/drawing/TextVerticalAdjust.hpp> #include <com/sun/star/drawing/TextHorizontalAdjust.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> - -#include <memory> #include <CommonConverters.hxx> #include <editeng/unoprnms.hxx> diff --git a/chart2/source/view/main/VLegend.cxx b/chart2/source/view/main/VLegend.cxx index 6acfbb14d4ce..1dfe3653e4d1 100644 --- a/chart2/source/view/main/VLegend.cxx +++ b/chart2/source/view/main/VLegend.cxx @@ -31,7 +31,6 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/drawing/TextHorizontalAdjust.hpp> #include <com/sun/star/drawing/LineJoint.hpp> -#include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/chart/ChartLegendExpansion.hpp> #include <com/sun/star/chart2/LegendPosition.hpp> #include <com/sun/star/chart2/RelativePosition.hpp> @@ -40,7 +39,6 @@ #include <com/sun/star/chart2/data/XPivotTableDataProvider.hpp> #include <com/sun/star/chart2/data/PivotTableFieldEntry.hpp> #include <rtl/math.hxx> -#include <svl/languageoptions.hxx> #include <svl/ctloptions.hxx> #include <tools/diagnose_ex.h> #include <tools/UnitConversion.hxx> diff --git a/chart2/source/view/main/VLegendSymbolFactory.cxx b/chart2/source/view/main/VLegendSymbolFactory.cxx index f4bec2397d89..451e32e45409 100644 --- a/chart2/source/view/main/VLegendSymbolFactory.cxx +++ b/chart2/source/view/main/VLegendSymbolFactory.cxx @@ -22,9 +22,7 @@ #include <ShapeFactory.hxx> #include <com/sun/star/drawing/Position3D.hpp> #include <com/sun/star/chart2/Symbol.hpp> -#include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/drawing/Direction3D.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> #include <tools/diagnose_ex.h> #include <sal/log.hxx> |