diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-11-14 22:52:35 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-11-17 11:06:53 +0100 |
commit | 6a0fe37dec107392fbe468a35b89071b9a93d2c1 (patch) | |
tree | 4334feae68fa1ddc1ef293cd46ef483f44081c1c /chart2 | |
parent | 30f3b36e07ce37a3fe1909fb4b1419a00d2fdd81 (diff) |
sal: clean up public headers with include-what-you-use
Sadly cannot forward declare "struct {...} TimeValue;".
rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h
was painful enough for now...
Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
Diffstat (limited to 'chart2')
14 files changed, 15 insertions, 0 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.cxx b/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.cxx index a7e7dc1d8bbe..78a0076f82f8 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty.cxx @@ -21,6 +21,7 @@ #include "macros.hxx" #include "RelativeSizeHelper.hxx" #include "ReferenceSizePropertyProvider.hxx" +#include <osl/diagnose.h> using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx b/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx index 85d8e7e03848..cfee9372cf23 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx @@ -20,6 +20,7 @@ #include "WrappedNumberFormatProperty.hxx" #include "macros.hxx" #include <unonames.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx index 9574f36f7775..a5acbc5be764 100644 --- a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx @@ -20,6 +20,7 @@ #include "ItemConverter.hxx" #include "macros.hxx" #include <com/sun/star/lang/XComponent.hpp> +#include <osl/diagnose.h> #include <svl/itemprop.hxx> #include <svl/itemiter.hxx> #include <svl/whiter.hxx> diff --git a/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx b/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx index 7230d94b2061..ae3ac82a59b7 100644 --- a/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter.cxx @@ -25,6 +25,7 @@ #include "GraphicPropertyItemConverter.hxx" #include <com/sun/star/chart2/XRegressionCurve.hpp> +#include <osl/diagnose.h> #include <svl/eitem.hxx> #include <svl/intitem.hxx> diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx index a5984edea742..0fd2cf4448aa 100644 --- a/chart2/source/model/filter/XMLFilter.cxx +++ b/chart2/source/model/filter/XMLFilter.cxx @@ -29,6 +29,7 @@ #include <comphelper/documentconstants.hxx> #include <sot/storage.hxx> +#include <osl/diagnose.h> #include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/xml/sax/InputSource.hpp> diff --git a/chart2/source/tools/CommonConverters.cxx b/chart2/source/tools/CommonConverters.cxx index d7d27eeb2090..8571f94defad 100644 --- a/chart2/source/tools/CommonConverters.cxx +++ b/chart2/source/tools/CommonConverters.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/chart2/data/XNumericalDataSequence.hpp> #include <com/sun/star/chart2/data/XTextualDataSequence.hpp> #include <rtl/math.hxx> +#include <osl/diagnose.h> #include <basegfx/matrix/b3dhommatrix.hxx> #include <cstdarg> diff --git a/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx b/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx index 0278fb72d283..b40243e373ff 100644 --- a/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx +++ b/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx @@ -20,6 +20,7 @@ #include "MeanValueRegressionCurveCalculator.hxx" #include "macros.hxx" +#include <osl/diagnose.h> #include <rtl/math.hxx> #include <rtl/ustrbuf.hxx> diff --git a/chart2/source/tools/NumberFormatterWrapper.cxx b/chart2/source/tools/NumberFormatterWrapper.cxx index 1a65728e0316..13b7ed18716b 100644 --- a/chart2/source/tools/NumberFormatterWrapper.cxx +++ b/chart2/source/tools/NumberFormatterWrapper.cxx @@ -25,6 +25,7 @@ #include <tools/color.hxx> #include <i18nlangtag/mslangid.hxx> #include <com/sun/star/util/Date.hpp> +#include <osl/diagnose.h> namespace chart { diff --git a/chart2/source/tools/PropertyHelper.cxx b/chart2/source/tools/PropertyHelper.cxx index 2ca570a2da7f..365e3a374c67 100644 --- a/chart2/source/tools/PropertyHelper.cxx +++ b/chart2/source/tools/PropertyHelper.cxx @@ -22,6 +22,7 @@ #include "macros.hxx" #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/container/XNameContainer.hpp> +#include <osl/diagnose.h> #include <vector> #include <algorithm> diff --git a/chart2/source/tools/RelativePositionHelper.cxx b/chart2/source/tools/RelativePositionHelper.cxx index f195c837a841..233bc986346e 100644 --- a/chart2/source/tools/RelativePositionHelper.cxx +++ b/chart2/source/tools/RelativePositionHelper.cxx @@ -19,6 +19,7 @@ #include "RelativePositionHelper.hxx" #include <rtl/math.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; diff --git a/chart2/source/tools/XMLRangeHelper.cxx b/chart2/source/tools/XMLRangeHelper.cxx index b66a2c7c64e5..526499fada2e 100644 --- a/chart2/source/tools/XMLRangeHelper.cxx +++ b/chart2/source/tools/XMLRangeHelper.cxx @@ -20,6 +20,7 @@ #include "XMLRangeHelper.hxx" #include <unotools/charclass.hxx> #include <rtl/ustrbuf.hxx> +#include <osl/diagnose.h> #include <algorithm> #include <functional> diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx index 9992f9defd04..ee814eb6a356 100644 --- a/chart2/source/view/charttypes/Splines.cxx +++ b/chart2/source/view/charttypes/Splines.cxx @@ -19,6 +19,7 @@ #include "Splines.hxx" #include <rtl/math.hxx> +#include <osl/diagnose.h> #include <vector> #include <algorithm> diff --git a/chart2/source/view/main/Clipping.cxx b/chart2/source/view/main/Clipping.cxx index 85f876264745..d391c4f1fd99 100644 --- a/chart2/source/view/main/Clipping.cxx +++ b/chart2/source/view/main/Clipping.cxx @@ -21,6 +21,8 @@ #include "CommonConverters.hxx" #include "BaseGFXHelper.hxx" +#include <osl/diagnose.h> + #include <com/sun/star/drawing/Position3D.hpp> #include <com/sun/star/drawing/DoubleSequence.hpp> diff --git a/chart2/source/view/main/PlotterBase.cxx b/chart2/source/view/main/PlotterBase.cxx index c27389910634..8d1334e128f5 100644 --- a/chart2/source/view/main/PlotterBase.cxx +++ b/chart2/source/view/main/PlotterBase.cxx @@ -21,6 +21,7 @@ #include "PlottingPositionHelper.hxx" #include "AbstractShapeFactory.hxx" #include <rtl/math.hxx> +#include <osl/diagnose.h> #include <com/sun/star/chart2/DataPointLabel.hpp> namespace chart |