diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-05-21 18:34:40 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-05-28 10:04:03 +0200 |
commit | f50eb2d12e3b80ff75b6d1a89753efcef0cd6f27 (patch) | |
tree | c26c8c126af09816323d1dab384522abc12e547c /chart2/source/model/inc | |
parent | f62243c7bb620d821ae84366235111c47a99bae0 (diff) |
tdf#42949 Fix IWYU warnings in chart2/source/model/inc/
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here
and a bit of fallout management.
Change-Id: I2833ac36c359df76f46e7aa973c012a4d7cedc84
Reviewed-on: https://gerrit.libreoffice.org/54872
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'chart2/source/model/inc')
-rw-r--r-- | chart2/source/model/inc/BaseCoordinateSystem.hxx | 1 | ||||
-rw-r--r-- | chart2/source/model/inc/ChartTypeManager.hxx | 6 | ||||
-rw-r--r-- | chart2/source/model/inc/DataSeries.hxx | 5 | ||||
-rw-r--r-- | chart2/source/model/inc/Diagram.hxx | 8 | ||||
-rw-r--r-- | chart2/source/model/inc/XMLFilter.hxx | 7 |
5 files changed, 12 insertions, 15 deletions
diff --git a/chart2/source/model/inc/BaseCoordinateSystem.hxx b/chart2/source/model/inc/BaseCoordinateSystem.hxx index 76ad85aa597f..1f20e83a02dc 100644 --- a/chart2/source/model/inc/BaseCoordinateSystem.hxx +++ b/chart2/source/model/inc/BaseCoordinateSystem.hxx @@ -24,7 +24,6 @@ #include <cppuhelper/implbase.hxx> #include <comphelper/uno3.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/chart2/XCoordinateSystem.hpp> #include <com/sun/star/chart2/XChartTypeContainer.hpp> #include <com/sun/star/util/XCloneable.hpp> diff --git a/chart2/source/model/inc/ChartTypeManager.hxx b/chart2/source/model/inc/ChartTypeManager.hxx index 7b09b1a16b7e..dc764ad86c53 100644 --- a/chart2/source/model/inc/ChartTypeManager.hxx +++ b/chart2/source/model/inc/ChartTypeManager.hxx @@ -19,15 +19,13 @@ #ifndef INCLUDED_CHART2_SOURCE_MODEL_INC_CHARTTYPEMANAGER_HXX #define INCLUDED_CHART2_SOURCE_MODEL_INC_CHARTTYPEMANAGER_HXX -#include <OPropertySet.hxx> -#include <MutexContainer.hxx> #include <cppuhelper/implbase.hxx> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> - #include <com/sun/star/chart2/XChartTypeManager.hpp> +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + namespace chart { diff --git a/chart2/source/model/inc/DataSeries.hxx b/chart2/source/model/inc/DataSeries.hxx index ee45f584d7b9..aefab3406606 100644 --- a/chart2/source/model/inc/DataSeries.hxx +++ b/chart2/source/model/inc/DataSeries.hxx @@ -27,10 +27,7 @@ #include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/util/XModifyBroadcaster.hpp> #include <com/sun/star/util/XModifyListener.hpp> -#include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> // helper classes #include <cppuhelper/implbase.hxx> @@ -43,6 +40,8 @@ #include <MutexContainer.hxx> #include <OPropertySet.hxx> +namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } } + namespace chart { diff --git a/chart2/source/model/inc/Diagram.hxx b/chart2/source/model/inc/Diagram.hxx index e622cca202a3..c9690981bfbc 100644 --- a/chart2/source/model/inc/Diagram.hxx +++ b/chart2/source/model/inc/Diagram.hxx @@ -23,21 +23,21 @@ #include <MutexContainer.hxx> #include <cppuhelper/implbase.hxx> #include <comphelper/uno3.hxx> -#include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/chart2/data/XDataSource.hpp> #include <com/sun/star/chart2/XDiagram.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> #include <com/sun/star/chart2/XTitled.hpp> #include <com/sun/star/chart/X3DDefaultSetter.hpp> #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> -#include <map> #include <vector> +namespace com { namespace sun { namespace star { namespace beans { struct PropertyValue; } } } } +namespace com { namespace sun { namespace star { namespace chart2 { namespace data { class XDataSource; } } } } } +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } + namespace chart { diff --git a/chart2/source/model/inc/XMLFilter.hxx b/chart2/source/model/inc/XMLFilter.hxx index 6b97ca858d9e..4f10f1ffbbd4 100644 --- a/chart2/source/model/inc/XMLFilter.hxx +++ b/chart2/source/model/inc/XMLFilter.hxx @@ -20,18 +20,19 @@ #define INCLUDED_CHART2_SOURCE_MODEL_INC_XMLFILTER_HXX #include <cppuhelper/implbase.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XImporter.hpp> #include <com/sun/star/document/XExporter.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/io/XActiveDataSource.hpp> -#include <com/sun/star/xml/sax/XWriter.hpp> #include <osl/mutex.hxx> #include <vcl/errcode.hxx> +namespace com { namespace sun { namespace star { namespace beans { class XPropertySet; } } } } +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } +namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XWriter; } } } } } +namespace com { namespace sun { namespace star { namespace lang { class XMultiComponentFactory; } } } } namespace com { namespace sun { namespace star { namespace embed |