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/inc | |
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/inc')
-rw-r--r-- | chart2/source/inc/ExplicitCategoriesProvider.hxx | 4 | ||||
-rw-r--r-- | chart2/source/inc/NumberFormatterWrapper.hxx | 10 | ||||
-rw-r--r-- | chart2/source/inc/TrueGuard.hxx | 4 |
3 files changed, 8 insertions, 10 deletions
diff --git a/chart2/source/inc/ExplicitCategoriesProvider.hxx b/chart2/source/inc/ExplicitCategoriesProvider.hxx index 54763be4e8a2..7a39bf60ea5d 100644 --- a/chart2/source/inc/ExplicitCategoriesProvider.hxx +++ b/chart2/source/inc/ExplicitCategoriesProvider.hxx @@ -47,13 +47,13 @@ public: virtual css::uno::Sequence< OUString > getStringsForLevel( sal_Int32 nIndex ) const = 0; }; -class OOO_DLLPUBLIC_CHARTTOOLS ExplicitCategoriesProvider +class OOO_DLLPUBLIC_CHARTTOOLS ExplicitCategoriesProvider final { public: ExplicitCategoriesProvider( const css::uno::Reference< css::chart2::XCoordinateSystem >& xCooSysModel , ChartModel& rChartModel ); - virtual ~ExplicitCategoriesProvider(); + ~ExplicitCategoriesProvider(); void init(); diff --git a/chart2/source/inc/NumberFormatterWrapper.hxx b/chart2/source/inc/NumberFormatterWrapper.hxx index 4743054ea3ac..a978b2b33c91 100644 --- a/chart2/source/inc/NumberFormatterWrapper.hxx +++ b/chart2/source/inc/NumberFormatterWrapper.hxx @@ -26,15 +26,13 @@ namespace chart { -/** -*/ class FixedNumberFormatter; -class OOO_DLLPUBLIC_CHARTTOOLS NumberFormatterWrapper +class OOO_DLLPUBLIC_CHARTTOOLS NumberFormatterWrapper final { public: NumberFormatterWrapper( const css::uno::Reference< css::util::XNumberFormatsSupplier >& xSupplier ); - virtual ~NumberFormatterWrapper(); + ~NumberFormatterWrapper(); SvNumberFormatter* getSvNumberFormatter() const { return m_pNumberFormatter;} const css::uno::Reference< css::util::XNumberFormatsSupplier >& @@ -51,12 +49,12 @@ private: //private member css::uno::Any m_aNullDate; }; -class OOO_DLLPUBLIC_CHARTTOOLS FixedNumberFormatter +class OOO_DLLPUBLIC_CHARTTOOLS FixedNumberFormatter final { public: FixedNumberFormatter( const css::uno::Reference< css::util::XNumberFormatsSupplier >& xSupplier , sal_Int32 nNumberFormatKey ); - virtual ~FixedNumberFormatter(); + ~FixedNumberFormatter(); OUString getFormattedString( double fValue, sal_Int32& rLabelColor, bool& rbColorChanged ) const; diff --git a/chart2/source/inc/TrueGuard.hxx b/chart2/source/inc/TrueGuard.hxx index 2cf602a53ea3..36121f309aca 100644 --- a/chart2/source/inc/TrueGuard.hxx +++ b/chart2/source/inc/TrueGuard.hxx @@ -25,11 +25,11 @@ namespace chart { /** This guard sets the given boolean reference to true in the constructor and to false in the destructor */ -class OOO_DLLPUBLIC_CHARTTOOLS TrueGuard +class OOO_DLLPUBLIC_CHARTTOOLS TrueGuard final { public: explicit TrueGuard( bool& rbTrueDuringGuardedTime ); - virtual ~TrueGuard(); + ~TrueGuard(); private: bool& m_rbTrueDuringGuardedTime; |