diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-08 08:32:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-08 08:57:05 +0000 |
commit | f606a6b248956094a14c15d8154af5f8522e415b (patch) | |
tree | 706e1c8708627fd3819f84972e7baf17036fe720 /chart2/source/controller | |
parent | 98460e7a502e61f8885c6fb960f0f9fa69de4f3e (diff) |
loplugin:unnecessaryvirtual in basctl..chart2
Change-Id: Id4eeb12792c3a66b68a907cb459ab437e3d64e4c
Reviewed-on: https://gerrit.libreoffice.org/30680
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller')
10 files changed, 20 insertions, 20 deletions
diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx index a0e9305676b2..214963c38376 100644 --- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx +++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx @@ -43,11 +43,11 @@ class ChartModel; namespace wrapper { -class Chart2ModelContact +class Chart2ModelContact final { public: explicit Chart2ModelContact( const css::uno::Reference< css::uno::XComponentContext >& xContext ); - virtual ~Chart2ModelContact(); + ~Chart2ModelContact(); public: void setModel( const css::uno::Reference< css::frame::XModel >& xChartModel ); diff --git a/chart2/source/controller/dialogs/DataBrowserModel.hxx b/chart2/source/controller/dialogs/DataBrowserModel.hxx index c57d4ef320bf..f191a607faee 100644 --- a/chart2/source/controller/dialogs/DataBrowserModel.hxx +++ b/chart2/source/controller/dialogs/DataBrowserModel.hxx @@ -35,13 +35,13 @@ namespace chart class DialogModel; -class DataBrowserModel +class DataBrowserModel final { public: explicit DataBrowserModel( const css::uno::Reference< css::chart2::XChartDocument > & xChartDoc, const css::uno::Reference< css::uno::XComponentContext > & xContext ); - virtual ~DataBrowserModel(); + ~DataBrowserModel(); /** Inserts a new data series after the data series to which the data column with index nAfterColumnIndex belongs. diff --git a/chart2/source/controller/dialogs/res_DataLabel.hxx b/chart2/source/controller/dialogs/res_DataLabel.hxx index 01366656179d..4b86489a9fab 100644 --- a/chart2/source/controller/dialogs/res_DataLabel.hxx +++ b/chart2/source/controller/dialogs/res_DataLabel.hxx @@ -31,11 +31,11 @@ class SvNumberFormatter; namespace chart { -class DataLabelResources +class DataLabelResources final { public: DataLabelResources( VclBuilderContainer* pWindow, vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~DataLabelResources(); + ~DataLabelResources(); bool FillItemSet(SfxItemSet* rOutAttrs) const; void Reset(const SfxItemSet& rInAttrs); diff --git a/chart2/source/controller/dialogs/res_Trendline.hxx b/chart2/source/controller/dialogs/res_Trendline.hxx index 1dccbd3a4f0c..ffe35e738cd2 100644 --- a/chart2/source/controller/dialogs/res_Trendline.hxx +++ b/chart2/source/controller/dialogs/res_Trendline.hxx @@ -31,11 +31,11 @@ namespace chart { -class TrendlineResources +class TrendlineResources final { public: TrendlineResources( vcl::Window* pParent, const SfxItemSet& rInAttrs ); - virtual ~TrendlineResources(); + ~TrendlineResources(); void Reset(const SfxItemSet& rInAttrs); bool FillItemSet(SfxItemSet* rOutAttrs) const; diff --git a/chart2/source/controller/inc/ChartController.hxx b/chart2/source/controller/inc/ChartController.hxx index a128a03d2a05..b056c794546d 100644 --- a/chart2/source/controller/inc/ChartController.hxx +++ b/chart2/source/controller/inc/ChartController.hxx @@ -408,14 +408,14 @@ private: //each controller might consider himself as owner of the model first bool m_bOwnership; }; - class TheModelRef + class TheModelRef final { public: TheModelRef( TheModel* pTheModel, ::osl::Mutex& rMutex ); TheModelRef( const TheModelRef& rTheModel, ::osl::Mutex& rMutex ); TheModelRef& operator=(ChartController::TheModel* pTheModel); TheModelRef& operator=(const TheModelRef& rTheModel); - virtual ~TheModelRef(); + ~TheModelRef(); bool is() const; TheModel* operator->() const { return m_pTheModel; } private: diff --git a/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx b/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx index dd2c3dc2031e..2e26054de9c0 100644 --- a/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx +++ b/chart2/source/controller/inc/TimerTriggeredControllerLock.hxx @@ -28,11 +28,11 @@ namespace chart { -class TimerTriggeredControllerLock +class TimerTriggeredControllerLock final { public: TimerTriggeredControllerLock( const css::uno::Reference< css::frame::XModel >& xModel ); - virtual ~TimerTriggeredControllerLock(); + ~TimerTriggeredControllerLock(); void startTimer(); diff --git a/chart2/source/controller/inc/ViewElementListProvider.hxx b/chart2/source/controller/inc/ViewElementListProvider.hxx index c1b9bdd93502..d61d380d1992 100644 --- a/chart2/source/controller/inc/ViewElementListProvider.hxx +++ b/chart2/source/controller/inc/ViewElementListProvider.hxx @@ -29,11 +29,11 @@ namespace chart class DrawModelWrapper; -class ViewElementListProvider +class ViewElementListProvider final { public: ViewElementListProvider( DrawModelWrapper* pDrawModelWrapper ); - virtual ~ViewElementListProvider(); + ~ViewElementListProvider(); XColorListRef GetColorTable() const; XDashListRef GetDashList() const; diff --git a/chart2/source/controller/inc/dlg_ObjectProperties.hxx b/chart2/source/controller/inc/dlg_ObjectProperties.hxx index 4c82d01bdc0f..2eda271ae2cd 100644 --- a/chart2/source/controller/inc/dlg_ObjectProperties.hxx +++ b/chart2/source/controller/inc/dlg_ObjectProperties.hxx @@ -27,11 +27,11 @@ namespace chart { -class ObjectPropertiesDialogParameter +class ObjectPropertiesDialogParameter final { public: ObjectPropertiesDialogParameter( const OUString& rObjectCID ); - virtual ~ObjectPropertiesDialogParameter(); + ~ObjectPropertiesDialogParameter(); void init( const css::uno::Reference< css::frame::XModel >& xModel ); ObjectType getObjectType() const { return m_eObjectType;} diff --git a/chart2/source/controller/inc/res_LegendPosition.hxx b/chart2/source/controller/inc/res_LegendPosition.hxx index cf6442008160..bed2a64cfc8d 100644 --- a/chart2/source/controller/inc/res_LegendPosition.hxx +++ b/chart2/source/controller/inc/res_LegendPosition.hxx @@ -29,7 +29,7 @@ namespace chart { -class LegendPositionResources +class LegendPositionResources final { public: @@ -38,7 +38,7 @@ public: //constructor inclusive Display checkbox LegendPositionResources(VclBuilderContainer& rParent, const css::uno::Reference< css::uno::XComponentContext>& xCC ); - virtual ~LegendPositionResources(); + ~LegendPositionResources(); void writeToResources( const css::uno::Reference< css::frame::XModel >& xChartModel ); void writeToModel( const css::uno::Reference< css::frame::XModel >& xChartModel ) const; diff --git a/chart2/source/controller/inc/res_Titles.hxx b/chart2/source/controller/inc/res_Titles.hxx index 79c1ce777142..1902a5773859 100644 --- a/chart2/source/controller/inc/res_Titles.hxx +++ b/chart2/source/controller/inc/res_Titles.hxx @@ -26,11 +26,11 @@ namespace chart { -class TitleResources +class TitleResources final { public: TitleResources(VclBuilderContainer& rParent, bool bShowSecondaryAxesTitle); - virtual ~TitleResources(); + ~TitleResources(); void writeToResources( const TitleDialogData& rInput ); void readFromResources( TitleDialogData& rOutput ); |