From 6e1647699fb7de69b7b14498dbc9b133c24508d4 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 30 Mar 2024 21:25:06 +0100 Subject: tdf#146619 Drop unused 'using namespace' in: chart2/ Change-Id: I632d0dda0e62e5b1bf0956e731ab5ed6417db1ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165688 Tested-by: Jenkins Reviewed-by: Gabor Kelemen --- chart2/source/controller/chartapiwrapper/GridWrapper.cxx | 1 - chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx | 1 - chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx | 1 - chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx | 1 - chart2/source/controller/dialogs/TitleDialogData.cxx | 1 - chart2/source/controller/dialogs/dlg_ChartType.cxx | 1 - chart2/source/controller/dialogs/dlg_DataSource.cxx | 1 - chart2/source/controller/dialogs/dlg_View3D.cxx | 1 - chart2/source/controller/main/ChartController_Position.cxx | 1 - chart2/source/inc/ChartResourceGroups.hxx | 1 - chart2/source/model/main/ChartModel.cxx | 1 - chart2/source/model/template/ColumnLineChartTypeTemplate.cxx | 1 - chart2/source/model/template/FilledNetChartType.cxx | 1 - chart2/source/model/template/StockChartTypeTemplate.cxx | 1 - chart2/source/tools/ColorPerPointHelper.cxx | 1 - chart2/source/view/axes/VPolarAngleAxis.cxx | 1 - chart2/source/view/axes/VPolarAxis.cxx | 1 - chart2/source/view/axes/VPolarCoordinateSystem.cxx | 1 - chart2/source/view/charttypes/BarPositionHelper.cxx | 1 - chart2/source/view/charttypes/BubbleChart.cxx | 1 - chart2/source/view/charttypes/CandleStickChart.cxx | 1 - chart2/source/view/main/LabelPositionHelper.cxx | 1 - chart2/source/view/main/PlotterBase.cxx | 1 - chart2/source/view/main/PolarLabelPositionHelper.cxx | 1 - 24 files changed, 24 deletions(-) diff --git a/chart2/source/controller/chartapiwrapper/GridWrapper.cxx b/chart2/source/controller/chartapiwrapper/GridWrapper.cxx index 8a9f4267e785..5f75aa686a69 100644 --- a/chart2/source/controller/chartapiwrapper/GridWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/GridWrapper.cxx @@ -34,7 +34,6 @@ #include using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx index 4f98fa5923f2..d0cb5eab6552 100644 --- a/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/MinMaxLineWrapper.cxx @@ -32,7 +32,6 @@ #include using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx index 9fa2e5132168..c63090d81ac8 100644 --- a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx @@ -32,7 +32,6 @@ #include using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx b/chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx index dc5742aef63b..9c8a6f61afb0 100644 --- a/chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx @@ -31,7 +31,6 @@ #include using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; using ::com::sun::star::beans::Property; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/controller/dialogs/TitleDialogData.cxx b/chart2/source/controller/dialogs/TitleDialogData.cxx index b8f3ed6d9429..75d59bbb43b4 100644 --- a/chart2/source/controller/dialogs/TitleDialogData.cxx +++ b/chart2/source/controller/dialogs/TitleDialogData.cxx @@ -28,7 +28,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; TitleDialogData::TitleDialogData( std::optional pRefSizeProvider ) : aPossibilityList{ true, true, true, true, true, true, true } diff --git a/chart2/source/controller/dialogs/dlg_ChartType.cxx b/chart2/source/controller/dialogs/dlg_ChartType.cxx index e6e88dae42b8..a1f52f5169a5 100644 --- a/chart2/source/controller/dialogs/dlg_ChartType.cxx +++ b/chart2/source/controller/dialogs/dlg_ChartType.cxx @@ -25,7 +25,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; ChartTypeDialog::ChartTypeDialog(weld::Window* pParent, rtl::Reference<::chart::ChartModel> xChartModel) diff --git a/chart2/source/controller/dialogs/dlg_DataSource.cxx b/chart2/source/controller/dialogs/dlg_DataSource.cxx index f485c021b0ae..25b0367f8885 100644 --- a/chart2/source/controller/dialogs/dlg_DataSource.cxx +++ b/chart2/source/controller/dialogs/dlg_DataSource.cxx @@ -30,7 +30,6 @@ #include "tp_DataSource.hxx" using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; using namespace ::chart; namespace chart diff --git a/chart2/source/controller/dialogs/dlg_View3D.cxx b/chart2/source/controller/dialogs/dlg_View3D.cxx index 1891ffff679e..08a783df5e45 100644 --- a/chart2/source/controller/dialogs/dlg_View3D.cxx +++ b/chart2/source/controller/dialogs/dlg_View3D.cxx @@ -31,7 +31,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; sal_uInt16 View3DDialog::m_nLastPageId = 0; diff --git a/chart2/source/controller/main/ChartController_Position.cxx b/chart2/source/controller/main/ChartController_Position.cxx index ed4cd59793d3..df047d747afd 100644 --- a/chart2/source/controller/main/ChartController_Position.cxx +++ b/chart2/source/controller/main/ChartController_Position.cxx @@ -41,7 +41,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; static void lcl_getPositionAndSizeFromItemSet( const SfxItemSet& rItemSet, awt::Rectangle& rPosAndSize, const awt::Size& rOriginalSize ) { diff --git a/chart2/source/inc/ChartResourceGroups.hxx b/chart2/source/inc/ChartResourceGroups.hxx index 9ae397d84f2f..ecb886f194af 100644 --- a/chart2/source/inc/ChartResourceGroups.hxx +++ b/chart2/source/inc/ChartResourceGroups.hxx @@ -27,7 +27,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; class SplinePropertiesDialog; class SteppedPropertiesDialog; diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index 4b97963cc42a..c0627abf7bbd 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -71,7 +71,6 @@ using ::osl::MutexGuard; using namespace ::com::sun::star; using namespace ::apphelper; -using namespace ::chart::CloneHelper; namespace { diff --git a/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx b/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx index 69769bc08ff9..7e0117cca295 100644 --- a/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx +++ b/chart2/source/model/template/ColumnLineChartTypeTemplate.cxx @@ -36,7 +36,6 @@ #include -using namespace ::com::sun::star::chart2; using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/model/template/FilledNetChartType.cxx b/chart2/source/model/template/FilledNetChartType.cxx index 6ec39d983516..60672259b905 100644 --- a/chart2/source/model/template/FilledNetChartType.cxx +++ b/chart2/source/model/template/FilledNetChartType.cxx @@ -24,7 +24,6 @@ namespace com::sun::star::uno { class XComponentContext; } using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; using ::com::sun::star::uno::Sequence; diff --git a/chart2/source/model/template/StockChartTypeTemplate.cxx b/chart2/source/model/template/StockChartTypeTemplate.cxx index 6da7a143b3b6..b0ff53d2a2c3 100644 --- a/chart2/source/model/template/StockChartTypeTemplate.cxx +++ b/chart2/source/model/template/StockChartTypeTemplate.cxx @@ -37,7 +37,6 @@ #include using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; diff --git a/chart2/source/tools/ColorPerPointHelper.cxx b/chart2/source/tools/ColorPerPointHelper.cxx index 04cc09cb44ec..abc940c51357 100644 --- a/chart2/source/tools/ColorPerPointHelper.cxx +++ b/chart2/source/tools/ColorPerPointHelper.cxx @@ -26,7 +26,6 @@ #include using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; using namespace ::chart::DataSeriesProperties; namespace chart diff --git a/chart2/source/view/axes/VPolarAngleAxis.cxx b/chart2/source/view/axes/VPolarAngleAxis.cxx index 279f784c3006..6c3f0790a573 100644 --- a/chart2/source/view/axes/VPolarAngleAxis.cxx +++ b/chart2/source/view/axes/VPolarAngleAxis.cxx @@ -33,7 +33,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; VPolarAngleAxis::VPolarAngleAxis( const AxisProperties& rAxisProperties , const uno::Reference< util::XNumberFormatsSupplier >& xNumberFormatsSupplier diff --git a/chart2/source/view/axes/VPolarAxis.cxx b/chart2/source/view/axes/VPolarAxis.cxx index 22297a561421..89f65fee3745 100644 --- a/chart2/source/view/axes/VPolarAxis.cxx +++ b/chart2/source/view/axes/VPolarAxis.cxx @@ -25,7 +25,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; std::shared_ptr VPolarAxis::createAxis( const AxisProperties& rAxisProperties , const uno::Reference< util::XNumberFormatsSupplier >& xNumberFormatsSupplier diff --git a/chart2/source/view/axes/VPolarCoordinateSystem.cxx b/chart2/source/view/axes/VPolarCoordinateSystem.cxx index b7d5b07c742d..ab7e603009ba 100644 --- a/chart2/source/view/axes/VPolarCoordinateSystem.cxx +++ b/chart2/source/view/axes/VPolarCoordinateSystem.cxx @@ -32,7 +32,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; using ::com::sun::star::uno::Reference; VPolarCoordinateSystem::VPolarCoordinateSystem( const rtl::Reference< BaseCoordinateSystem >& xCooSys ) diff --git a/chart2/source/view/charttypes/BarPositionHelper.cxx b/chart2/source/view/charttypes/BarPositionHelper.cxx index f8ac3e7d62ef..279d998a02e4 100644 --- a/chart2/source/view/charttypes/BarPositionHelper.cxx +++ b/chart2/source/view/charttypes/BarPositionHelper.cxx @@ -23,7 +23,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; BarPositionHelper::BarPositionHelper() : CategoryPositionHelper( 1 ) diff --git a/chart2/source/view/charttypes/BubbleChart.cxx b/chart2/source/view/charttypes/BubbleChart.cxx index 803cf73b20d4..d5bd2c3a16fc 100644 --- a/chart2/source/view/charttypes/BubbleChart.cxx +++ b/chart2/source/view/charttypes/BubbleChart.cxx @@ -33,7 +33,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; BubbleChart::BubbleChart( const rtl::Reference& xChartTypeModel , sal_Int32 nDimensionCount ) diff --git a/chart2/source/view/charttypes/CandleStickChart.cxx b/chart2/source/view/charttypes/CandleStickChart.cxx index 4610c3389d7b..5f3a19582e12 100644 --- a/chart2/source/view/charttypes/CandleStickChart.cxx +++ b/chart2/source/view/charttypes/CandleStickChart.cxx @@ -32,7 +32,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; CandleStickChart::CandleStickChart( const rtl::Reference& xChartTypeModel , sal_Int32 nDimensionCount ) diff --git a/chart2/source/view/main/LabelPositionHelper.cxx b/chart2/source/view/main/LabelPositionHelper.cxx index 471d76662ef2..3112c591243d 100644 --- a/chart2/source/view/main/LabelPositionHelper.cxx +++ b/chart2/source/view/main/LabelPositionHelper.cxx @@ -31,7 +31,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; LabelPositionHelper::LabelPositionHelper( sal_Int32 nDimensionCount diff --git a/chart2/source/view/main/PlotterBase.cxx b/chart2/source/view/main/PlotterBase.cxx index a706f1600fc6..d09bba64aeef 100644 --- a/chart2/source/view/main/PlotterBase.cxx +++ b/chart2/source/view/main/PlotterBase.cxx @@ -25,7 +25,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; PlotterBase::PlotterBase( sal_Int32 nDimensionCount ) : m_nDimension(nDimensionCount) diff --git a/chart2/source/view/main/PolarLabelPositionHelper.cxx b/chart2/source/view/main/PolarLabelPositionHelper.cxx index d5c819954a91..44070603c75a 100644 --- a/chart2/source/view/main/PolarLabelPositionHelper.cxx +++ b/chart2/source/view/main/PolarLabelPositionHelper.cxx @@ -27,7 +27,6 @@ namespace chart { using namespace ::com::sun::star; -using namespace ::com::sun::star::chart2; PolarLabelPositionHelper::PolarLabelPositionHelper( PolarPlottingPositionHelper* pPosHelper -- cgit