summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-06-15 01:07:28 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2018-06-22 23:22:51 +0200
commit32f556667cb09587bd636239da9d463d8c15679a (patch)
treebf3989bf26dabb3ded16cf8bd09458d1cad69b16
parent15bec216ec2242d8f80607221033becf505aecdd (diff)
tdf#42949 Fix IWYU warnings in chart2/source/tools/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I7eeb4529d521e4ff6616507c7f68cbff155ea729 Reviewed-on: https://gerrit.libreoffice.org/55838 Tested-by: Jenkins Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
-rw-r--r--chart2/IwyuFilter_chart2.yaml19
-rw-r--r--chart2/source/tools/ImplOPropertySet.cxx2
-rw-r--r--chart2/source/tools/ImplOPropertySet.hxx5
-rw-r--r--chart2/source/tools/RegressionCurveModel.cxx1
-rw-r--r--chart2/source/tools/RegressionCurveModel.hxx4
-rw-r--r--chart2/source/tools/RegressionEquation.cxx2
-rw-r--r--chart2/source/tools/RegressionEquation.hxx2
7 files changed, 29 insertions, 6 deletions
diff --git a/chart2/IwyuFilter_chart2.yaml b/chart2/IwyuFilter_chart2.yaml
index 8cf43a2fe5ae..96145192a107 100644
--- a/chart2/IwyuFilter_chart2.yaml
+++ b/chart2/IwyuFilter_chart2.yaml
@@ -344,6 +344,25 @@ blacklist:
# base class has to be a complete type
- com/sun/star/chart2/XDataInterpreter.hpp
- com/sun/star/lang/XServiceInfo.hpp
+ chart2/source/tools/RegressionCurveModel.hxx:
+ # base class has to be a complete type
+ - com/sun/star/chart2/XRegressionCurve.hpp
+ - com/sun/star/lang/XServiceInfo.hpp
+ - com/sun/star/lang/XServiceName.hpp
+ - com/sun/star/util/XCloneable.hpp
+ - com/sun/star/util/XModifyBroadcaster.hpp
+ - com/sun/star/util/XModifyListener.hpp
+ chart2/source/tools/ImplOPropertySet.hxx:
+ # base class has to be a complete type
+ - com/sun/star/beans/PropertyState.hpp
+ - com/sun/star/uno/Sequence.hxx
+ chart2/source/tools/RegressionEquation.hxx:
+ # base class has to be a complete type
+ - com/sun/star/chart2/XTitle.hpp
+ - com/sun/star/lang/XServiceInfo.hpp
+ - com/sun/star/util/XCloneable.hpp
+ - com/sun/star/util/XModifyBroadcaster.hpp
+ - com/sun/star/util/XModifyListener.hpp
chart2/source/view/inc/3DChartObjects.hxx:
# base class has to be a complete type
- boost/shared_array.hpp
diff --git a/chart2/source/tools/ImplOPropertySet.cxx b/chart2/source/tools/ImplOPropertySet.cxx
index 2d4630eb27b6..fba181c3bbd9 100644
--- a/chart2/source/tools/ImplOPropertySet.cxx
+++ b/chart2/source/tools/ImplOPropertySet.cxx
@@ -22,7 +22,9 @@
#include <algorithm>
#include <iterator>
+#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/XFastPropertySet.hpp>
+#include <com/sun/star/style/XStyle.hpp>
using namespace ::com::sun::star;
diff --git a/chart2/source/tools/ImplOPropertySet.hxx b/chart2/source/tools/ImplOPropertySet.hxx
index 7b4f440c69fb..8cc1ea8b65d1 100644
--- a/chart2/source/tools/ImplOPropertySet.hxx
+++ b/chart2/source/tools/ImplOPropertySet.hxx
@@ -20,12 +20,13 @@
#define INCLUDED_CHART2_SOURCE_TOOLS_IMPLOPROPERTYSET_HXX
#include <com/sun/star/beans/PropertyState.hpp>
-#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/style/XStyle.hpp>
+#include <com/sun/star/uno/Reference.h>
#include <map>
#include <vector>
+namespace com { namespace sun { namespace star { namespace style { class XStyle; } } } }
+
namespace property
{
namespace impl
diff --git a/chart2/source/tools/RegressionCurveModel.cxx b/chart2/source/tools/RegressionCurveModel.cxx
index 2e0b38c15a91..d4b0d360359e 100644
--- a/chart2/source/tools/RegressionCurveModel.cxx
+++ b/chart2/source/tools/RegressionCurveModel.cxx
@@ -24,6 +24,7 @@
#include "RegressionEquation.hxx"
#include <CloneHelper.hxx>
#include <PropertyHelper.hxx>
+#include <ModifyListenerHelper.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <rtl/math.hxx>
diff --git a/chart2/source/tools/RegressionCurveModel.hxx b/chart2/source/tools/RegressionCurveModel.hxx
index 8bcd4bfced7b..05257e2dc950 100644
--- a/chart2/source/tools/RegressionCurveModel.hxx
+++ b/chart2/source/tools/RegressionCurveModel.hxx
@@ -21,17 +21,17 @@
#include <MutexContainer.hxx>
#include <OPropertySet.hxx>
-#include <ModifyListenerHelper.hxx>
#include <cppuhelper/implbase.hxx>
#include <comphelper/uno3.hxx>
#include <com/sun/star/chart2/XRegressionCurve.hpp>
-#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceName.hpp>
#include <com/sun/star/util/XCloneable.hpp>
+#include <com/sun/star/util/XModifyBroadcaster.hpp>
+#include <com/sun/star/util/XModifyListener.hpp>
namespace chart
{
diff --git a/chart2/source/tools/RegressionEquation.cxx b/chart2/source/tools/RegressionEquation.cxx
index 31d75ee73130..bae6d7a4db8f 100644
--- a/chart2/source/tools/RegressionEquation.cxx
+++ b/chart2/source/tools/RegressionEquation.cxx
@@ -24,6 +24,7 @@
#include <CharacterProperties.hxx>
#include <PropertyHelper.hxx>
#include <ContainerHelper.hxx>
+#include <ModifyListenerHelper.hxx>
#include <unonames.hxx>
#include <cppuhelper/supportsservice.hxx>
@@ -33,6 +34,7 @@
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/chart2/RelativePosition.hpp>
#include <com/sun/star/awt/Size.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <tools/diagnose_ex.h>
#include <algorithm>
diff --git a/chart2/source/tools/RegressionEquation.hxx b/chart2/source/tools/RegressionEquation.hxx
index 5f2a1113ca98..605dd115ade6 100644
--- a/chart2/source/tools/RegressionEquation.hxx
+++ b/chart2/source/tools/RegressionEquation.hxx
@@ -20,7 +20,6 @@
#define INCLUDED_CHART2_SOURCE_TOOLS_REGRESSIONEQUATION_HXX
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/XCloneable.hpp>
#include <com/sun/star/util/XModifyBroadcaster.hpp>
#include <com/sun/star/util/XModifyListener.hpp>
@@ -28,7 +27,6 @@
#include <MutexContainer.hxx>
#include <OPropertySet.hxx>
-#include <ModifyListenerHelper.hxx>
#include <cppuhelper/implbase.hxx>
#include <comphelper/uno3.hxx>