From 9a06b99d2f53bd8d0a9ab0936efed9924a2abb88 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 4 Dec 2017 14:20:26 +0200 Subject: loplugin:salcall fix non-virtual methods first, since those are safer to change than virtual methods Change-Id: Ie3b624019d75ee2b793cee33b3c5f64e994e8bfe Reviewed-on: https://gerrit.libreoffice.org/45798 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/inc/ChartModel.hxx | 6 +++--- chart2/source/model/main/ChartModel.cxx | 2 +- chart2/source/model/main/ChartModel_Persistence.cxx | 4 ++-- chart2/source/model/template/ChartTypeTemplate.cxx | 2 +- chart2/source/model/template/ChartTypeTemplate.hxx | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'chart2') diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx index d13c672dccd9..063e3fc6a72b 100644 --- a/chart2/inc/ChartModel.hxx +++ b/chart2/inc/ChartModel.hxx @@ -187,13 +187,13 @@ private: impl_getCurrentController(); /// @throws css::uno::RuntimeException - void SAL_CALL + void impl_notifyModifiedListeners(); /// @throws css::uno::RuntimeException - void SAL_CALL + void impl_notifyCloseListeners(); /// @throws css::uno::RuntimeException - void SAL_CALL + void impl_notifyStorageChangeListeners(); void impl_store( diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index 4c25a63c63f1..055f3a94fe50 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -261,7 +261,7 @@ uno::Reference< frame::XController > ChartModel::impl_getCurrentController() return uno::Reference< frame::XController > (); } -void SAL_CALL ChartModel::impl_notifyCloseListeners() +void ChartModel::impl_notifyCloseListeners() { ::cppu::OInterfaceContainerHelper* pIC = m_aLifeTimeManager.m_aListenerContainer .getContainer( cppu::UnoType::get()); diff --git a/chart2/source/model/main/ChartModel_Persistence.cxx b/chart2/source/model/main/ChartModel_Persistence.cxx index 213d87f42f9d..946569312380 100644 --- a/chart2/source/model/main/ChartModel_Persistence.cxx +++ b/chart2/source/model/main/ChartModel_Persistence.cxx @@ -637,7 +637,7 @@ void ChartModel::impl_loadGraphics( } // util::XModifiable -void SAL_CALL ChartModel::impl_notifyModifiedListeners() +void ChartModel::impl_notifyModifiedListeners() { { MutexGuard aGuard( m_aModelMutex ); @@ -772,7 +772,7 @@ Reference< embed::XStorage > SAL_CALL ChartModel::getDocumentStorage() return m_xStorage; } -void SAL_CALL ChartModel::impl_notifyStorageChangeListeners() +void ChartModel::impl_notifyStorageChangeListeners() { ::cppu::OInterfaceContainerHelper* pIC = m_aLifeTimeManager.m_aListenerContainer .getContainer( cppu::UnoType::get()); diff --git a/chart2/source/model/template/ChartTypeTemplate.cxx b/chart2/source/model/template/ChartTypeTemplate.cxx index b06adcdfbda6..aacb8971c967 100644 --- a/chart2/source/model/template/ChartTypeTemplate.cxx +++ b/chart2/source/model/template/ChartTypeTemplate.cxx @@ -415,7 +415,7 @@ void SAL_CALL ChartTypeTemplate::applyStyle( } } -void SAL_CALL ChartTypeTemplate::applyStyles( const Reference< chart2::XDiagram >& xDiagram ) +void ChartTypeTemplate::applyStyles( const Reference< chart2::XDiagram >& xDiagram ) { // apply chart-type specific styles, like "symbols on" for example Sequence< Sequence< Reference< XDataSeries > > > aNewSeriesSeq( diff --git a/chart2/source/model/template/ChartTypeTemplate.hxx b/chart2/source/model/template/ChartTypeTemplate.hxx index 6dacf519101c..3567066d6066 100644 --- a/chart2/source/model/template/ChartTypeTemplate.hxx +++ b/chart2/source/model/template/ChartTypeTemplate.hxx @@ -107,7 +107,7 @@ protected: const css::uno::Reference< css::chart2::XDiagram >& xDiagram ) override; /// @throws css::uno::RuntimeException - void SAL_CALL applyStyles( + void applyStyles( const css::uno::Reference< css::chart2::XDiagram >& xDiagram ); // ____ XServiceName ____ -- cgit