diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-07-08 15:01:23 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-09 10:49:06 +0200 |
commit | 7af90cc93b76996f0f338c6a1285997531281e75 (patch) | |
tree | 5bcc07cf1cdcccc9b7b14ead80b3fbe46e179693 /chart2/source/view | |
parent | tilebench: add --preinit mode. (diff) | |
download | core-7af90cc93b76996f0f338c6a1285997531281e75.tar.gz core-7af90cc93b76996f0f338c6a1285997531281e75.zip |
Add missing sal/log.hxx headers
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx>
(and don't make use of it themselves), but many other files happen to depend on it.
This is a continuation of commit 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030
to be able to remove those unneeded includes.
This commit adds missing headers to every file found by:
grep -FwL sal/log.hxx $(git grep -Elw 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF|SAL_DETAIL_LOG_STREAM|SAL_WHERE|SAL_STREAM|SAL_DEBUG')
to directories from a* to configmgr
Change-Id: I6ea1a7f992b1f835f5bac7a725e1135abee3f85a
Reviewed-on: https://gerrit.libreoffice.org/57170
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'chart2/source/view')
22 files changed, 23 insertions, 0 deletions
diff --git a/chart2/source/view/axes/VAxisProperties.cxx b/chart2/source/view/axes/VAxisProperties.cxx index a3e56aeaf4ba..8597544e169b 100644 --- a/chart2/source/view/axes/VAxisProperties.cxx +++ b/chart2/source/view/axes/VAxisProperties.cxx @@ -29,6 +29,8 @@ #include <com/sun/star/drawing/LineStyle.hpp> #include <com/sun/star/text/WritingMode2.hpp> +#include <sal/log.hxx> + using namespace ::com::sun::star; using namespace ::com::sun::star::chart2; diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx index b52ab1e5e642..903e3b38405a 100644 --- a/chart2/source/view/axes/VCartesianAxis.cxx +++ b/chart2/source/view/axes/VCartesianAxis.cxx @@ -37,6 +37,7 @@ #include <editeng/unoprnms.hxx> #include <svx/unoshape.hxx> #include <svx/unoshtxt.hxx> +#include <sal/log.hxx> #include <basegfx/polygon/b2dpolygon.hxx> #include <basegfx/polygon/b2dpolypolygon.hxx> diff --git a/chart2/source/view/axes/VCoordinateSystem.cxx b/chart2/source/view/axes/VCoordinateSystem.cxx index f4e051b47ee4..5cd0c127d1ca 100644 --- a/chart2/source/view/axes/VCoordinateSystem.cxx +++ b/chart2/source/view/axes/VCoordinateSystem.cxx @@ -39,6 +39,7 @@ #include <com/sun/star/chart2/XChartTypeContainer.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> #include <comphelper/sequence.hxx> +#include <sal/log.hxx> #include <algorithm> #include <rtl/math.hxx> diff --git a/chart2/source/view/charttypes/AreaChart.cxx b/chart2/source/view/charttypes/AreaChart.cxx index 7ecf7e9ebeeb..5b94b31acedb 100644 --- a/chart2/source/view/charttypes/AreaChart.cxx +++ b/chart2/source/view/charttypes/AreaChart.cxx @@ -38,6 +38,7 @@ #include <editeng/unoprnms.hxx> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <com/sun/star/drawing/DoubleSequence.hpp> #include <com/sun/star/drawing/NormalsKind.hpp> diff --git a/chart2/source/view/charttypes/BarChart.cxx b/chart2/source/view/charttypes/BarChart.cxx index cab13732b6a9..b757b1286c3b 100644 --- a/chart2/source/view/charttypes/BarChart.cxx +++ b/chart2/source/view/charttypes/BarChart.cxx @@ -36,6 +36,7 @@ #include <com/sun/star/chart2/XTransformation.hpp> #include <com/sun/star/chart2/DataPointGeometry3D.hpp> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <unordered_set> namespace chart diff --git a/chart2/source/view/charttypes/BubbleChart.cxx b/chart2/source/view/charttypes/BubbleChart.cxx index 8036f9e9aa42..ce25ee3b359f 100644 --- a/chart2/source/view/charttypes/BubbleChart.cxx +++ b/chart2/source/view/charttypes/BubbleChart.cxx @@ -32,6 +32,7 @@ #include <com/sun/star/chart/DataLabelPlacement.hpp> #include <editeng/unoprnms.hxx> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <com/sun/star/drawing/DoubleSequence.hpp> #include <com/sun/star/drawing/NormalsKind.hpp> #include <com/sun/star/lang/XServiceName.hpp> diff --git a/chart2/source/view/charttypes/CandleStickChart.cxx b/chart2/source/view/charttypes/CandleStickChart.cxx index 201aeafc928a..80b65eb9c78b 100644 --- a/chart2/source/view/charttypes/CandleStickChart.cxx +++ b/chart2/source/view/charttypes/CandleStickChart.cxx @@ -30,6 +30,7 @@ #include <DateHelper.hxx> #include <rtl/math.hxx> #include <editeng/unoprnms.hxx> +#include <sal/log.hxx> namespace chart { diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index ec234ac26be2..de48a1d5e893 100644 --- a/chart2/source/view/charttypes/PieChart.cxx +++ b/chart2/source/view/charttypes/PieChart.cxx @@ -32,6 +32,7 @@ #include <com/sun/star/container/XChild.hpp> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <memory> diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index 92ede0fb1a2d..2172206fb8c8 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -86,6 +86,7 @@ #include <vcl/svapp.hxx> #include <vcl/settings.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <functional> #include <map> diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx index a545e84a485b..655d472f50e3 100644 --- a/chart2/source/view/diagram/VDiagram.cxx +++ b/chart2/source/view/diagram/VDiagram.cxx @@ -40,6 +40,7 @@ #include <svx/scene3d.hxx> #include <svx/e3dsceneupdater.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> namespace chart { diff --git a/chart2/source/view/main/3DChartObjects.cxx b/chart2/source/view/main/3DChartObjects.cxx index f4dcd0d3a62c..538308bfd539 100644 --- a/chart2/source/view/main/3DChartObjects.cxx +++ b/chart2/source/view/main/3DChartObjects.cxx @@ -10,6 +10,7 @@ #include <3DChartObjects.hxx> #include <vcl/virdev.hxx> #include <vcl/svapp.hxx> +#include <sal/log.hxx> #include <vcl/opengl/GLMHelper.hxx> #include <vcl/opengl/OpenGLHelper.hxx> diff --git a/chart2/source/view/main/AbstractShapeFactory.cxx b/chart2/source/view/main/AbstractShapeFactory.cxx index 840878e2200f..58b3a9695e6b 100644 --- a/chart2/source/view/main/AbstractShapeFactory.cxx +++ b/chart2/source/view/main/AbstractShapeFactory.cxx @@ -36,6 +36,7 @@ #include <svx/svdocirc.hxx> #include <svx/svdopath.hxx> #include <vcl/svapp.hxx> +#include <sal/log.hxx> #include <BaseGFXHelper.hxx> #include <basegfx/point/b2dpoint.hxx> diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 0e16536e7267..566f84244c72 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -120,6 +120,7 @@ #include <rtl/strbuf.hxx> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <osl/conditn.hxx> #include <o3tl/make_unique.hxx> diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx index 035353dbd795..e7ebaf102a44 100644 --- a/chart2/source/view/main/DummyXShape.cxx +++ b/chart2/source/view/main/DummyXShape.cxx @@ -19,6 +19,7 @@ #include <CommonConverters.hxx> #include <rtl/ustring.hxx> +#include <sal/log.hxx> #include <vcl/window.hxx> #include <vcl/virdev.hxx> diff --git a/chart2/source/view/main/OpenGLRender.cxx b/chart2/source/view/main/OpenGLRender.cxx index 56e46040ac5e..f461bb80f290 100644 --- a/chart2/source/view/main/OpenGLRender.cxx +++ b/chart2/source/view/main/OpenGLRender.cxx @@ -33,6 +33,7 @@ #include <vcl/virdev.hxx> #include <vcl/dibtools.hxx> #include <vcl/svapp.hxx> +#include <sal/log.hxx> #include <vcl/opengl/OpenGLHelper.hxx> diff --git a/chart2/source/view/main/OpenglShapeFactory.cxx b/chart2/source/view/main/OpenglShapeFactory.cxx index e6c4980b8017..b1169292090c 100644 --- a/chart2/source/view/main/OpenglShapeFactory.cxx +++ b/chart2/source/view/main/OpenglShapeFactory.cxx @@ -47,6 +47,7 @@ #include <svx/svdocirc.hxx> #include <svx/svdopath.hxx> #include <vcl/openglwin.hxx> +#include <sal/log.hxx> #include <basegfx/point/b2dpoint.hxx> #include <basegfx/matrix/b3dhommatrix.hxx> diff --git a/chart2/source/view/main/PropertyMapper.cxx b/chart2/source/view/main/PropertyMapper.cxx index 4a4c65833c59..7427b280edd5 100644 --- a/chart2/source/view/main/PropertyMapper.cxx +++ b/chart2/source/view/main/PropertyMapper.cxx @@ -19,6 +19,7 @@ #include <PropertyMapper.hxx> #include <unonames.hxx> +#include <sal/log.hxx> #include <com/sun/star/beans/XMultiPropertySet.hpp> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/chart2/source/view/main/ShapeFactory.cxx b/chart2/source/view/main/ShapeFactory.cxx index f92742727165..8e3f67bb18b1 100644 --- a/chart2/source/view/main/ShapeFactory.cxx +++ b/chart2/source/view/main/ShapeFactory.cxx @@ -59,6 +59,7 @@ #include <basegfx/point/b2dpoint.hxx> #include <basegfx/matrix/b3dhommatrix.hxx> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> #include <algorithm> diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index 80655b8bd31e..22237347db42 100644 --- a/chart2/source/view/main/VDataSeries.cxx +++ b/chart2/source/view/main/VDataSeries.cxx @@ -32,6 +32,7 @@ #include <com/sun/star/chart2/Symbol.hpp> #include <rtl/math.hxx> +#include <sal/log.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/drawing/LineStyle.hpp> diff --git a/chart2/source/view/main/VLegendSymbolFactory.cxx b/chart2/source/view/main/VLegendSymbolFactory.cxx index cae5ee197144..0112682bb7c4 100644 --- a/chart2/source/view/main/VLegendSymbolFactory.cxx +++ b/chart2/source/view/main/VLegendSymbolFactory.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/drawing/XShapes.hpp> #include <com/sun/star/drawing/Direction3D.hpp> #include <tools/diagnose_ex.h> +#include <sal/log.hxx> using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/view/main/VLineProperties.cxx b/chart2/source/view/main/VLineProperties.cxx index 2f79f0e56391..128ea8a82cfe 100644 --- a/chart2/source/view/main/VLineProperties.cxx +++ b/chart2/source/view/main/VLineProperties.cxx @@ -20,6 +20,7 @@ #include <VLineProperties.hxx> #include <com/sun/star/drawing/LineStyle.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <sal/log.hxx> namespace chart { diff --git a/chart2/source/view/main/VTitle.cxx b/chart2/source/view/main/VTitle.cxx index 3ef4e161bc15..7b74b93da35b 100644 --- a/chart2/source/view/main/VTitle.cxx +++ b/chart2/source/view/main/VTitle.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/text/ControlCharacter.hpp> #include <com/sun/star/text/XText.hpp> #include <com/sun/star/text/XTextCursor.hpp> +#include <sal/log.hxx> namespace chart { |