From a7b18aaa46c225d3546ad52aab0c460092c8edb0 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 30 Aug 2016 14:26:19 +0100 Subject: no point in these dtors being virtual nothing inherits from these classes Change-Id: Ic887ac8a046b8697e310e19b6e7fdf9efae8f074 --- chart2/source/controller/dialogs/ChartTypeDialogController.cxx | 3 --- chart2/source/controller/dialogs/ChartTypeDialogController.hxx | 1 - chart2/source/inc/ObjectIdentifier.hxx | 1 - chart2/source/tools/ObjectIdentifier.cxx | 4 ---- chart2/source/view/axes/ScaleAutomatism.cxx | 3 --- chart2/source/view/inc/ScaleAutomatism.hxx | 1 - 6 files changed, 13 deletions(-) (limited to 'chart2') diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx index 30599888c6f3..972e52db5eb7 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx @@ -84,9 +84,6 @@ ChartTypeParameter::ChartTypeParameter( sal_Int32 SubTypeIndex, bool HasXAxisWit , mbRoundedEdge(false) { } -ChartTypeParameter::~ChartTypeParameter() -{ -} bool ChartTypeParameter::mapsToSameService( const ChartTypeParameter& rParameter ) const { diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.hxx b/chart2/source/controller/dialogs/ChartTypeDialogController.hxx index b74694078153..984fb67d19c5 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.hxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.hxx @@ -60,7 +60,6 @@ public: , bool _bSymbols = true, bool _bLines = true , css::chart2::CurveStyle eCurveStyle = css::chart2::CurveStyle_LINES ); ChartTypeParameter(); - virtual ~ChartTypeParameter(); bool mapsToSameService( const ChartTypeParameter& rParameter ) const; bool mapsToSimilarService( const ChartTypeParameter& rParameter, sal_Int32 nTheHigherTheLess ) const; diff --git a/chart2/source/inc/ObjectIdentifier.hxx b/chart2/source/inc/ObjectIdentifier.hxx index a38cdc5e6847..067ff960e2e4 100644 --- a/chart2/source/inc/ObjectIdentifier.hxx +++ b/chart2/source/inc/ObjectIdentifier.hxx @@ -93,7 +93,6 @@ public: ObjectIdentifier( const OUString& rObjectCID ); ObjectIdentifier( const css::uno::Reference< css::drawing::XShape >& rxShape ); ObjectIdentifier( const css::uno::Any& rAny ); - virtual ~ObjectIdentifier(); ObjectIdentifier( const ObjectIdentifier& rOID ); bool operator==( const ObjectIdentifier& rOID ) const; diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx index 4a653531e5db..9af4f05b171f 100644 --- a/chart2/source/tools/ObjectIdentifier.cxx +++ b/chart2/source/tools/ObjectIdentifier.cxx @@ -271,10 +271,6 @@ ObjectIdentifier::ObjectIdentifier( const Any& rAny ) } } -ObjectIdentifier::~ObjectIdentifier() -{ -} - ObjectIdentifier::ObjectIdentifier( const ObjectIdentifier& rOID ) :m_aObjectCID( rOID.m_aObjectCID ) ,m_xAdditionalShape( rOID.m_xAdditionalShape ) diff --git a/chart2/source/view/axes/ScaleAutomatism.cxx b/chart2/source/view/axes/ScaleAutomatism.cxx index 9bc8df73e278..022025ba8751 100644 --- a/chart2/source/view/axes/ScaleAutomatism.cxx +++ b/chart2/source/view/axes/ScaleAutomatism.cxx @@ -105,9 +105,6 @@ ScaleAutomatism::ScaleAutomatism( const ScaleData& rSourceScale, const Date& rNu if( m_aSourceScale.Origin >>= fExplicitOrigin ) expandValueRange( fExplicitOrigin, fExplicitOrigin); } -ScaleAutomatism::~ScaleAutomatism() -{ -} void ScaleAutomatism::resetValueRange( ) { diff --git a/chart2/source/view/inc/ScaleAutomatism.hxx b/chart2/source/view/inc/ScaleAutomatism.hxx index 221612ab1aaa..81535bd6d717 100644 --- a/chart2/source/view/inc/ScaleAutomatism.hxx +++ b/chart2/source/view/inc/ScaleAutomatism.hxx @@ -42,7 +42,6 @@ class ScaleAutomatism public: explicit ScaleAutomatism( const css::chart2::ScaleData& rSourceScale, const Date& rNullDate ); - virtual ~ScaleAutomatism(); /** Expands own value range with the passed minimum and maximum. * -- cgit