From 6dce9c6757823b9e89863716ae70ff4e8ddd4e60 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 6 Feb 2017 17:08:38 +0100 Subject: Add missing #includes ...and remove some unncessary using directives/declarations, in preparation of removing now-unnecessary #includes from cppumaker-generated files, post e57ca02849c3d87142ff5ff9099a212e72b8139c "Remove dynamic exception specifications". Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067 --- chart2/source/controller/accessibility/AccessibleBase.cxx | 1 + chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx | 1 + chart2/source/controller/main/UndoActions.cxx | 1 - chart2/source/controller/main/UndoCommandDispatch.cxx | 1 + chart2/source/inc/LifeTime.hxx | 1 + chart2/source/model/main/BaseCoordinateSystem.cxx | 1 + chart2/source/model/main/ChartModel.cxx | 1 + chart2/source/model/main/ChartModel_Persistence.cxx | 1 + chart2/source/model/main/DataSeries.cxx | 2 ++ chart2/source/model/main/UndoManager.cxx | 7 +------ chart2/source/view/main/ChartView.cxx | 1 + 11 files changed, 11 insertions(+), 7 deletions(-) (limited to 'chart2') diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx index 4759754b95a3..4dd512a9d41f 100644 --- a/chart2/source/controller/accessibility/AccessibleBase.cxx +++ b/chart2/source/controller/accessibility/AccessibleBase.cxx @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx index 74952ee851e2..d6a9885df789 100644 --- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx @@ -55,6 +55,7 @@ #include #include #include +#include #include "LinePropertiesHelper.hxx" #include "FillProperties.hxx" diff --git a/chart2/source/controller/main/UndoActions.cxx b/chart2/source/controller/main/UndoActions.cxx index 1c7f9cc8bc70..0c8de572d907 100644 --- a/chart2/source/controller/main/UndoActions.cxx +++ b/chart2/source/controller/main/UndoActions.cxx @@ -41,7 +41,6 @@ namespace impl using ::com::sun::star::uno::RuntimeException; using ::com::sun::star::frame::XModel; using ::com::sun::star::lang::DisposedException; - using ::com::sun::star::document::UndoFailedException; UndoElement::UndoElement( const OUString& i_actionString, const Reference< XModel >& i_documentModel, const std::shared_ptr< ChartModelClone >& i_modelClone ) :UndoElement_MBase() diff --git a/chart2/source/controller/main/UndoCommandDispatch.cxx b/chart2/source/controller/main/UndoCommandDispatch.cxx index b7466c95c96a..ed78d54188eb 100644 --- a/chart2/source/controller/main/UndoCommandDispatch.cxx +++ b/chart2/source/controller/main/UndoCommandDispatch.cxx @@ -22,6 +22,7 @@ #include "macros.hxx" #include +#include #include #include diff --git a/chart2/source/inc/LifeTime.hxx b/chart2/source/inc/LifeTime.hxx index c3a648d26819..c45fa77e5792 100644 --- a/chart2/source/inc/LifeTime.hxx +++ b/chart2/source/inc/LifeTime.hxx @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/chart2/source/model/main/BaseCoordinateSystem.cxx b/chart2/source/model/main/BaseCoordinateSystem.cxx index 5b4e7c395d86..0204c59dab15 100644 --- a/chart2/source/model/main/BaseCoordinateSystem.cxx +++ b/chart2/source/model/main/BaseCoordinateSystem.cxx @@ -26,6 +26,7 @@ #include "Axis.hxx" #include "AxisHelper.hxx" #include +#include #include #include diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index f76bb9faf2ff..924e5bee71d9 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -55,6 +55,7 @@ #include #include #include +#include #include #include #include diff --git a/chart2/source/model/main/ChartModel_Persistence.cxx b/chart2/source/model/main/ChartModel_Persistence.cxx index 7ad28cbcc927..a88a1da027e9 100644 --- a/chart2/source/model/main/ChartModel_Persistence.cxx +++ b/chart2/source/model/main/ChartModel_Persistence.cxx @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include diff --git a/chart2/source/model/main/DataSeries.cxx b/chart2/source/model/main/DataSeries.cxx index 440634a1978e..956a750d49d6 100644 --- a/chart2/source/model/main/DataSeries.cxx +++ b/chart2/source/model/main/DataSeries.cxx @@ -29,6 +29,8 @@ #include "CloneHelper.hxx" #include "ModifyListenerHelper.hxx" #include "EventListenerHelper.hxx" +#include +#include #include #include diff --git a/chart2/source/model/main/UndoManager.cxx b/chart2/source/model/main/UndoManager.cxx index 664149926c26..ab6ed77744ef 100644 --- a/chart2/source/model/main/UndoManager.cxx +++ b/chart2/source/model/main/UndoManager.cxx @@ -21,6 +21,7 @@ #include "ChartViewHelper.hxx" #include +#include #include #include @@ -36,14 +37,8 @@ namespace chart using ::com::sun::star::uno::Sequence; using ::com::sun::star::lang::DisposedException; using ::com::sun::star::document::XUndoManager; - using ::com::sun::star::document::EmptyUndoStackException; - using ::com::sun::star::document::UndoContextNotClosedException; - using ::com::sun::star::document::UndoFailedException; - using ::com::sun::star::util::InvalidStateException; using ::com::sun::star::document::XUndoAction; - using ::com::sun::star::lang::IllegalArgumentException; using ::com::sun::star::document::XUndoManagerListener; - using ::com::sun::star::util::NotLockedException; using ::com::sun::star::lang::NoSupportException; using ::com::sun::star::util::XModifyListener; using ::com::sun::star::frame::XModel; diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 5e08015edba9..7e08061b75e0 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -98,6 +98,7 @@ #include #include #include +#include #include #include #include -- cgit