summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-18 15:55:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-22 08:13:56 +0200
commit6921cde3917dcb4f420b50823394f84c3c8348c9 (patch)
tree0ac183e0c7231b9e86f37f281f7f08a2f6f8348e /chart2
parentdb90e072fa0d0fe6514361cc50273aaa47563478 (diff)
loplugin:virtualdead unused param in ChartTypeDialogController
Change-Id: I71eaedcd2fbd5b6d05bc90c4c5ddbc7fca9f5925 Reviewed-on: https://gerrit.libreoffice.org/81271 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/dialogs/ChartTypeDialogController.cxx7
-rw-r--r--chart2/source/controller/dialogs/ChartTypeDialogController.hxx6
-rw-r--r--chart2/source/controller/dialogs/tp_ChartType.cxx4
3 files changed, 7 insertions, 10 deletions
diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx
index eeebd989e5ed..bbe3c1fd82d5 100644
--- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx
+++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx
@@ -358,8 +358,7 @@ void ChartTypeDialogController::showExtraControls(weld::Builder* /*pBuilder*/)
void ChartTypeDialogController::hideExtraControls() const
{
}
-void ChartTypeDialogController::fillExtraControls( const ChartTypeParameter& /*rParameter*/
- , const uno::Reference< XChartDocument >& /*xChartModel*/
+void ChartTypeDialogController::fillExtraControls( const uno::Reference< XChartDocument >& /*xChartModel*/
, const uno::Reference< beans::XPropertySet >& /*xTemplateProps*/ ) const
{
}
@@ -1147,8 +1146,8 @@ void CombiColumnLineChartDialogController::hideExtraControls() const
m_xMF_NumberOfLines->hide();
}
-void CombiColumnLineChartDialogController::fillExtraControls( const ChartTypeParameter& /*rParameter*/
- , const uno::Reference< XChartDocument >& xChartModel
+void CombiColumnLineChartDialogController::fillExtraControls(
+ const uno::Reference< XChartDocument >& xChartModel
, const uno::Reference< beans::XPropertySet >& xTemplateProps ) const
{
if (!m_xMF_NumberOfLines)
diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.hxx b/chart2/source/controller/dialogs/ChartTypeDialogController.hxx
index e655394c1da3..35953980578d 100644
--- a/chart2/source/controller/dialogs/ChartTypeDialogController.hxx
+++ b/chart2/source/controller/dialogs/ChartTypeDialogController.hxx
@@ -102,8 +102,7 @@ public:
virtual void showExtraControls(weld::Builder* pBuilder);
virtual void hideExtraControls() const;
- virtual void fillExtraControls( const ChartTypeParameter& rParameter
- , const css::uno::Reference< css::chart2::XChartDocument >& xChartModel
+ virtual void fillExtraControls( const css::uno::Reference< css::chart2::XChartDocument >& xChartModel
, const css::uno::Reference< css::beans::XPropertySet >& xTemplateProps ) const;
/// @throws css::uno::RuntimeException
virtual void setTemplateProperties( const css::uno::Reference< css::beans::XPropertySet >& xTemplateProps ) const;
@@ -267,8 +266,7 @@ public:
virtual void showExtraControls(weld::Builder* pBuilder) override;
virtual void hideExtraControls() const override;
- virtual void fillExtraControls( const ChartTypeParameter& rParameter
- , const css::uno::Reference< css::chart2::XChartDocument >& xChartModel
+ virtual void fillExtraControls( const css::uno::Reference< css::chart2::XChartDocument >& xChartModel
, const css::uno::Reference< css::beans::XPropertySet >& xTemplateProps ) const override;
virtual void setTemplateProperties( const css::uno::Reference< css::beans::XPropertySet >& xTemplateProps ) const override;
diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx
index f2d9e1e22b31..f46192b5a880 100644
--- a/chart2/source/controller/dialogs/tp_ChartType.cxx
+++ b/chart2/source/controller/dialogs/tp_ChartType.cxx
@@ -818,7 +818,7 @@ void ChartTypeTabPage::selectMainType()
fillAllControls( aParameter );
uno::Reference< beans::XPropertySet > xTemplateProps( getCurrentTemplate(), uno::UNO_QUERY );
- m_pCurrentMainType->fillExtraControls(aParameter,m_xChartModel,xTemplateProps);
+ m_pCurrentMainType->fillExtraControls(m_xChartModel,xTemplateProps);
}
}
@@ -898,7 +898,7 @@ void ChartTypeTabPage::initializePage()
fillAllControls( aParameter );
if( m_pCurrentMainType )
- m_pCurrentMainType->fillExtraControls(aParameter,m_xChartModel,xTemplateProps);
+ m_pCurrentMainType->fillExtraControls(m_xChartModel,xTemplateProps);
break;
}
++nM;