From e0aabd9c88897d64d1ce0eb294fb8352ce7f25e9 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sun, 18 Mar 2018 15:31:06 +0100 Subject: tdf#42949 Remove unnecessary localization headers from chart2 Found by searching for the header names and the localization function: git grep -l -e \ -e \ chart2 | xargs grep -c SchResId | grep :0$ | grep -v /pch Change-Id: Ic4fd9245a7e4c3dc96216687f6f8e9820e062a5e Reviewed-on: https://gerrit.libreoffice.org/52410 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek --- chart2/source/controller/dialogs/dlg_ChartType.cxx | 2 -- chart2/source/controller/dialogs/dlg_DataEditor.cxx | 2 -- chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx | 1 - chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx | 1 - chart2/source/controller/dialogs/dlg_InsertTitle.cxx | 1 - chart2/source/controller/dialogs/dlg_ShapeFont.cxx | 1 - chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx | 1 - chart2/source/controller/dialogs/res_ErrorBar.cxx | 1 - chart2/source/controller/dialogs/res_Titles.cxx | 1 - chart2/source/controller/dialogs/res_Trendline.cxx | 2 -- chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx | 1 - chart2/source/controller/dialogs/tp_AxisLabel.cxx | 1 - chart2/source/controller/dialogs/tp_AxisPositions.cxx | 2 -- chart2/source/controller/dialogs/tp_DataLabel.cxx | 1 - chart2/source/controller/dialogs/tp_ErrorBars.cxx | 1 - chart2/source/controller/dialogs/tp_LegendPosition.cxx | 1 - chart2/source/controller/dialogs/tp_PointGeometry.cxx | 1 - chart2/source/controller/dialogs/tp_PolarOptions.cxx | 1 - chart2/source/controller/dialogs/tp_RangeChooser.cxx | 2 -- chart2/source/controller/dialogs/tp_SeriesToAxis.cxx | 1 - chart2/source/controller/dialogs/tp_TitleRotation.cxx | 1 - chart2/source/controller/dialogs/tp_Trendline.cxx | 1 - chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx | 2 -- chart2/source/controller/main/ChartController_Position.cxx | 1 - chart2/source/controller/main/DragMethod_Base.cxx | 2 -- chart2/source/controller/main/StatusBarCommandDispatch.cxx | 1 - chart2/source/controller/main/UndoCommandDispatch.cxx | 1 - 27 files changed, 34 deletions(-) (limited to 'chart2/source/controller') diff --git a/chart2/source/controller/dialogs/dlg_ChartType.cxx b/chart2/source/controller/dialogs/dlg_ChartType.cxx index 981d6b08c160..55dfe5b482f1 100644 --- a/chart2/source/controller/dialogs/dlg_ChartType.cxx +++ b/chart2/source/controller/dialogs/dlg_ChartType.cxx @@ -18,9 +18,7 @@ */ #include -#include #include "TabPageIds.h" -#include #include "tp_ChartType.hxx" #include #include diff --git a/chart2/source/controller/dialogs/dlg_DataEditor.cxx b/chart2/source/controller/dialogs/dlg_DataEditor.cxx index d30b01cfe212..6c8e9c577353 100644 --- a/chart2/source/controller/dialogs/dlg_DataEditor.cxx +++ b/chart2/source/controller/dialogs/dlg_DataEditor.cxx @@ -18,10 +18,8 @@ */ #include -#include #include "DataBrowser.hxx" -#include #include #include #include diff --git a/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx b/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx index a8e514582fc1..74f2ce9b8831 100644 --- a/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx +++ b/chart2/source/controller/dialogs/dlg_InsertAxis_Grid.cxx @@ -19,7 +19,6 @@ #include -#include #include #include diff --git a/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx b/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx index 152670709e07..a866ada4a8d6 100644 --- a/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx +++ b/chart2/source/controller/dialogs/dlg_InsertErrorBars.cxx @@ -19,7 +19,6 @@ #include #include -#include #include #include #include diff --git a/chart2/source/controller/dialogs/dlg_InsertTitle.cxx b/chart2/source/controller/dialogs/dlg_InsertTitle.cxx index 267545a14def..149555cac30e 100644 --- a/chart2/source/controller/dialogs/dlg_InsertTitle.cxx +++ b/chart2/source/controller/dialogs/dlg_InsertTitle.cxx @@ -19,7 +19,6 @@ #include #include -#include #include namespace chart diff --git a/chart2/source/controller/dialogs/dlg_ShapeFont.cxx b/chart2/source/controller/dialogs/dlg_ShapeFont.cxx index 6f259fbce0ba..fbc2afdb94f0 100644 --- a/chart2/source/controller/dialogs/dlg_ShapeFont.cxx +++ b/chart2/source/controller/dialogs/dlg_ShapeFont.cxx @@ -19,7 +19,6 @@ #include #include -#include #include "TabPageIds.h" #include diff --git a/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx b/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx index 4c5040caf4ef..76a665775741 100644 --- a/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx +++ b/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx @@ -18,7 +18,6 @@ */ #include -#include #include "TabPageIds.h" #include diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index cc13839aa760..654cb794ddb2 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include diff --git a/chart2/source/controller/dialogs/res_Titles.cxx b/chart2/source/controller/dialogs/res_Titles.cxx index 6dffaaf6ce2a..7ce9839aa321 100644 --- a/chart2/source/controller/dialogs/res_Titles.cxx +++ b/chart2/source/controller/dialogs/res_Titles.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include diff --git a/chart2/source/controller/dialogs/res_Trendline.cxx b/chart2/source/controller/dialogs/res_Trendline.cxx index 67589fa8980c..0d6805af6155 100644 --- a/chart2/source/controller/dialogs/res_Trendline.cxx +++ b/chart2/source/controller/dialogs/res_Trendline.cxx @@ -18,8 +18,6 @@ */ #include "res_Trendline.hxx" -#include -#include #include #include diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx index 48009fc146b0..259b7721b8ee 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx @@ -18,7 +18,6 @@ */ #include "tp_3D_SceneIllumination.hxx" -#include #include #include diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx b/chart2/source/controller/dialogs/tp_AxisLabel.cxx index 3df8869364be..bd37fc0e5dca 100644 --- a/chart2/source/controller/dialogs/tp_AxisLabel.cxx +++ b/chart2/source/controller/dialogs/tp_AxisLabel.cxx @@ -19,7 +19,6 @@ #include "tp_AxisLabel.hxx" -#include #include "TabPageIds.h" #include diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.cxx b/chart2/source/controller/dialogs/tp_AxisPositions.cxx index 6e0edb6fb9d0..2739f24e95e3 100644 --- a/chart2/source/controller/dialogs/tp_AxisPositions.cxx +++ b/chart2/source/controller/dialogs/tp_AxisPositions.cxx @@ -19,9 +19,7 @@ #include "tp_AxisPositions.hxx" -#include #include "TabPageIds.h" -#include #include #include diff --git a/chart2/source/controller/dialogs/tp_DataLabel.cxx b/chart2/source/controller/dialogs/tp_DataLabel.cxx index c5bbc5316298..8d979841af65 100644 --- a/chart2/source/controller/dialogs/tp_DataLabel.cxx +++ b/chart2/source/controller/dialogs/tp_DataLabel.cxx @@ -20,7 +20,6 @@ #include "tp_DataLabel.hxx" #include "TabPageIds.h" -#include namespace chart { diff --git a/chart2/source/controller/dialogs/tp_ErrorBars.cxx b/chart2/source/controller/dialogs/tp_ErrorBars.cxx index 28663041e062..e2f6a0babfaf 100644 --- a/chart2/source/controller/dialogs/tp_ErrorBars.cxx +++ b/chart2/source/controller/dialogs/tp_ErrorBars.cxx @@ -18,7 +18,6 @@ */ #include "tp_ErrorBars.hxx" -#include #include "TabPageIds.h" #include #include diff --git a/chart2/source/controller/dialogs/tp_LegendPosition.cxx b/chart2/source/controller/dialogs/tp_LegendPosition.cxx index 554235d17343..836aa0aa6873 100644 --- a/chart2/source/controller/dialogs/tp_LegendPosition.cxx +++ b/chart2/source/controller/dialogs/tp_LegendPosition.cxx @@ -18,7 +18,6 @@ */ #include "tp_LegendPosition.hxx" -#include #include "TabPageIds.h" #include #include diff --git a/chart2/source/controller/dialogs/tp_PointGeometry.cxx b/chart2/source/controller/dialogs/tp_PointGeometry.cxx index a89cb5439ddb..926941305976 100644 --- a/chart2/source/controller/dialogs/tp_PointGeometry.cxx +++ b/chart2/source/controller/dialogs/tp_PointGeometry.cxx @@ -20,7 +20,6 @@ #include "tp_PointGeometry.hxx" #include "TabPageIds.h" #include "res_BarGeometry.hxx" -#include #include diff --git a/chart2/source/controller/dialogs/tp_PolarOptions.cxx b/chart2/source/controller/dialogs/tp_PolarOptions.cxx index 263b881396cf..b5b0b0b42ef6 100644 --- a/chart2/source/controller/dialogs/tp_PolarOptions.cxx +++ b/chart2/source/controller/dialogs/tp_PolarOptions.cxx @@ -18,7 +18,6 @@ */ #include "tp_PolarOptions.hxx" -#include #include #include diff --git a/chart2/source/controller/dialogs/tp_RangeChooser.cxx b/chart2/source/controller/dialogs/tp_RangeChooser.cxx index c81cde82baea..ddd8500423a0 100644 --- a/chart2/source/controller/dialogs/tp_RangeChooser.cxx +++ b/chart2/source/controller/dialogs/tp_RangeChooser.cxx @@ -18,8 +18,6 @@ */ #include "tp_RangeChooser.hxx" -#include -#include #include #include #include "ChartTypeTemplateProvider.hxx" diff --git a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx index 7fd67a016869..9e110cd2de8d 100644 --- a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx +++ b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx @@ -19,7 +19,6 @@ #include "tp_SeriesToAxis.hxx" -#include #include #include diff --git a/chart2/source/controller/dialogs/tp_TitleRotation.cxx b/chart2/source/controller/dialogs/tp_TitleRotation.cxx index d107ffdbf43c..369f8a7c71eb 100644 --- a/chart2/source/controller/dialogs/tp_TitleRotation.cxx +++ b/chart2/source/controller/dialogs/tp_TitleRotation.cxx @@ -19,7 +19,6 @@ #include "tp_TitleRotation.hxx" -#include #include "TabPageIds.h" #include diff --git a/chart2/source/controller/dialogs/tp_Trendline.cxx b/chart2/source/controller/dialogs/tp_Trendline.cxx index b5f4b1a38201..176ba723684e 100644 --- a/chart2/source/controller/dialogs/tp_Trendline.cxx +++ b/chart2/source/controller/dialogs/tp_Trendline.cxx @@ -18,7 +18,6 @@ */ #include "tp_Trendline.hxx" -#include #include "TabPageIds.h" #include diff --git a/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx b/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx index 5814b32dda09..902208cf33ad 100644 --- a/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx +++ b/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx @@ -18,10 +18,8 @@ */ #include "tp_Wizard_TitlesAndObjects.hxx" -#include #include #include -#include #include #include #include diff --git a/chart2/source/controller/main/ChartController_Position.cxx b/chart2/source/controller/main/ChartController_Position.cxx index 3c11b591d469..37b0ef9ef208 100644 --- a/chart2/source/controller/main/ChartController_Position.cxx +++ b/chart2/source/controller/main/ChartController_Position.cxx @@ -24,7 +24,6 @@ #include #include #include "UndoGuard.hxx" -#include #include #include #include diff --git a/chart2/source/controller/main/DragMethod_Base.cxx b/chart2/source/controller/main/DragMethod_Base.cxx index d6331871f7ad..1739833ed94b 100644 --- a/chart2/source/controller/main/DragMethod_Base.cxx +++ b/chart2/source/controller/main/DragMethod_Base.cxx @@ -19,8 +19,6 @@ #include "DragMethod_Base.hxx" -#include -#include #include #include diff --git a/chart2/source/controller/main/StatusBarCommandDispatch.cxx b/chart2/source/controller/main/StatusBarCommandDispatch.cxx index f34e7794fed0..c265adca0336 100644 --- a/chart2/source/controller/main/StatusBarCommandDispatch.cxx +++ b/chart2/source/controller/main/StatusBarCommandDispatch.cxx @@ -21,7 +21,6 @@ #include #include -#include using namespace ::com::sun::star; diff --git a/chart2/source/controller/main/UndoCommandDispatch.cxx b/chart2/source/controller/main/UndoCommandDispatch.cxx index 8b69ec0edf78..b7481665a1a6 100644 --- a/chart2/source/controller/main/UndoCommandDispatch.cxx +++ b/chart2/source/controller/main/UndoCommandDispatch.cxx @@ -18,7 +18,6 @@ */ #include "UndoCommandDispatch.hxx" -#include #include #include -- cgit