diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-23 18:37:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-23 18:37:35 +0100 |
commit | 705af606f75d870edcaa7fa01e360ae3dd31661b (patch) | |
tree | f8e8bb365802de57fffe0eb72eb267ac787dc999 /chart2 | |
parent | f338935019ab8e0b19cf7b7ce5151d7cf73e9383 (diff) |
loplugin:unnecessaryoverride (dtors) in chart2
Change-Id: I013fd81467b353262e8de554a06a0b24e4deca6d
Diffstat (limited to 'chart2')
23 files changed, 0 insertions, 251 deletions
diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx index f6b1f22f1b4e..4f46ea84cb16 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx @@ -272,7 +272,6 @@ class WrappedDataSourceLabelsInFirstRowProperty : public WrappedProperty { public: explicit WrappedDataSourceLabelsInFirstRowProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedDataSourceLabelsInFirstRowProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -296,10 +295,6 @@ WrappedDataSourceLabelsInFirstRowProperty::WrappedDataSourceLabelsInFirstRowProp m_aOuterValue = WrappedDataSourceLabelsInFirstRowProperty::getPropertyDefault( nullptr ); } -WrappedDataSourceLabelsInFirstRowProperty::~WrappedDataSourceLabelsInFirstRowProperty() -{ -} - void WrappedDataSourceLabelsInFirstRowProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -370,7 +365,6 @@ class WrappedDataSourceLabelsInFirstColumnProperty : public WrappedProperty { public: explicit WrappedDataSourceLabelsInFirstColumnProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedDataSourceLabelsInFirstColumnProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -394,10 +388,6 @@ WrappedDataSourceLabelsInFirstColumnProperty::WrappedDataSourceLabelsInFirstColu m_aOuterValue = WrappedDataSourceLabelsInFirstColumnProperty::getPropertyDefault( nullptr ); } -WrappedDataSourceLabelsInFirstColumnProperty::~WrappedDataSourceLabelsInFirstColumnProperty() -{ -} - void WrappedDataSourceLabelsInFirstColumnProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -468,7 +458,6 @@ class WrappedHasLegendProperty : public WrappedProperty { public: explicit WrappedHasLegendProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedHasLegendProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -489,10 +478,6 @@ WrappedHasLegendProperty::WrappedHasLegendProperty(const std::shared_ptr<Chart2M { } -WrappedHasLegendProperty::~WrappedHasLegendProperty() -{ -} - void WrappedHasLegendProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -552,7 +537,6 @@ class WrappedHasMainTitleProperty : public WrappedProperty { public: explicit WrappedHasMainTitleProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedHasMainTitleProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -573,10 +557,6 @@ WrappedHasMainTitleProperty::WrappedHasMainTitleProperty(const std::shared_ptr<C { } -WrappedHasMainTitleProperty::~WrappedHasMainTitleProperty() -{ -} - void WrappedHasMainTitleProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -625,7 +605,6 @@ class WrappedHasSubTitleProperty : public WrappedProperty { public: explicit WrappedHasSubTitleProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedHasSubTitleProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -646,10 +625,6 @@ WrappedHasSubTitleProperty::WrappedHasSubTitleProperty(const std::shared_ptr<Cha { } -WrappedHasSubTitleProperty::~WrappedHasSubTitleProperty() -{ -} - void WrappedHasSubTitleProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx index 430172f07eff..a480d30057df 100644 --- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx @@ -258,7 +258,6 @@ class WrappedAttachedAxisProperty : public ::chart::WrappedProperty { public: explicit WrappedAttachedAxisProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedAttachedAxisProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -280,10 +279,6 @@ WrappedAttachedAxisProperty::WrappedAttachedAxisProperty( { } -WrappedAttachedAxisProperty::~WrappedAttachedAxisProperty() -{ -} - Any WrappedAttachedAxisProperty::getPropertyDefault( const Reference< beans::XPropertyState >& /*xInnerPropertyState*/ ) const throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) { @@ -330,7 +325,6 @@ class WrappedSegmentOffsetProperty : public ::chart::WrappedProperty { public: WrappedSegmentOffsetProperty(); - virtual ~WrappedSegmentOffsetProperty() override; protected: virtual Any convertInnerToOuterValue( const Any& rInnerValue ) const override; @@ -341,9 +335,6 @@ WrappedSegmentOffsetProperty::WrappedSegmentOffsetProperty() : WrappedProperty("SegmentOffset","Offset") {} -WrappedSegmentOffsetProperty::~WrappedSegmentOffsetProperty() -{} - Any WrappedSegmentOffsetProperty::convertInnerToOuterValue( const Any& rInnerValue ) const { // convert new double offset to former integer segment-offset @@ -372,7 +363,6 @@ class WrappedLineColorProperty : public WrappedSeriesAreaOrLineProperty { public: explicit WrappedLineColorProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper ); - virtual ~WrappedLineColorProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -398,10 +388,6 @@ WrappedLineColorProperty::WrappedLineColorProperty( { } -WrappedLineColorProperty::~WrappedLineColorProperty() -{ -} - void WrappedLineColorProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -433,7 +419,6 @@ class WrappedLineStyleProperty : public WrappedSeriesAreaOrLineProperty { public: explicit WrappedLineStyleProperty( DataSeriesPointWrapper* pDataSeriesPointWrapper ); - virtual ~WrappedLineStyleProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -456,10 +441,6 @@ WrappedLineStyleProperty::WrappedLineStyleProperty( { } -WrappedLineStyleProperty::~WrappedLineStyleProperty() -{ -} - void WrappedLineStyleProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx index bea455e4e9da..2d33bf349f8e 100644 --- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx @@ -1197,7 +1197,6 @@ class WrappedDataRowSourceProperty : public WrappedProperty { public: explicit WrappedDataRowSourceProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedDataRowSourceProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1221,10 +1220,6 @@ WrappedDataRowSourceProperty::WrappedDataRowSourceProperty(const std::shared_ptr m_aOuterValue = WrappedDataRowSourceProperty::getPropertyDefault( nullptr ); } -WrappedDataRowSourceProperty::~WrappedDataRowSourceProperty() -{ -} - void WrappedDataRowSourceProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -1299,7 +1294,6 @@ class WrappedStackingProperty : public WrappedProperty { public: WrappedStackingProperty(StackMode eStackMode, const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedStackingProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1342,10 +1336,6 @@ WrappedStackingProperty::WrappedStackingProperty(StackMode eStackMode, const std } } -WrappedStackingProperty::~WrappedStackingProperty() -{ -} - bool WrappedStackingProperty::detectInnerValue( StackMode& eStackMode ) const { bool bHasDetectableInnerValue = false; @@ -1409,7 +1399,6 @@ class WrappedDim3DProperty : public WrappedProperty { public: explicit WrappedDim3DProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedDim3DProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1433,10 +1422,6 @@ WrappedDim3DProperty::WrappedDim3DProperty(const std::shared_ptr<Chart2ModelCont m_aOuterValue = WrappedDim3DProperty::getPropertyDefault( nullptr ); } -WrappedDim3DProperty::~WrappedDim3DProperty() -{ -} - void WrappedDim3DProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -1480,7 +1465,6 @@ class WrappedVerticalProperty : public WrappedProperty { public: explicit WrappedVerticalProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedVerticalProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1504,10 +1488,6 @@ WrappedVerticalProperty::WrappedVerticalProperty(const std::shared_ptr<Chart2Mod m_aOuterValue = WrappedVerticalProperty::getPropertyDefault( nullptr ); } -WrappedVerticalProperty::~WrappedVerticalProperty() -{ -} - void WrappedVerticalProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -1556,7 +1536,6 @@ class WrappedNumberOfLinesProperty : public WrappedProperty { public: explicit WrappedNumberOfLinesProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedNumberOfLinesProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1582,10 +1561,6 @@ WrappedNumberOfLinesProperty::WrappedNumberOfLinesProperty(const std::shared_ptr { } -WrappedNumberOfLinesProperty::~WrappedNumberOfLinesProperty() -{ -} - bool WrappedNumberOfLinesProperty::detectInnerValue( uno::Any& rInnerValue ) const { sal_Int32 nNumberOfLines = 0; @@ -1710,7 +1685,6 @@ class WrappedAttributedDataPointsProperty : public WrappedProperty { public: explicit WrappedAttributedDataPointsProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedAttributedDataPointsProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1734,10 +1708,6 @@ WrappedAttributedDataPointsProperty::WrappedAttributedDataPointsProperty(const s m_aOuterValue = WrappedAttributedDataPointsProperty::getPropertyDefault( nullptr ); } -WrappedAttributedDataPointsProperty::~WrappedAttributedDataPointsProperty() -{ -} - void WrappedAttributedDataPointsProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -1824,7 +1794,6 @@ class WrappedSolidTypeProperty : public WrappedProperty { public: explicit WrappedSolidTypeProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedSolidTypeProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1848,10 +1817,6 @@ WrappedSolidTypeProperty::WrappedSolidTypeProperty(const std::shared_ptr<Chart2M m_aOuterValue = WrappedSolidTypeProperty::getPropertyDefault( nullptr ); } -WrappedSolidTypeProperty::~WrappedSolidTypeProperty() -{ -} - void WrappedSolidTypeProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -1897,7 +1862,6 @@ class WrappedAutomaticSizeProperty : public WrappedProperty { public: WrappedAutomaticSizeProperty(); - virtual ~WrappedAutomaticSizeProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1914,10 +1878,6 @@ WrappedAutomaticSizeProperty::WrappedAutomaticSizeProperty() { } -WrappedAutomaticSizeProperty::~WrappedAutomaticSizeProperty() -{ -} - void WrappedAutomaticSizeProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -1969,7 +1929,6 @@ class WrappedIncludeHiddenCellsProperty : public WrappedProperty { public: explicit WrappedIncludeHiddenCellsProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedIncludeHiddenCellsProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -1986,10 +1945,6 @@ WrappedIncludeHiddenCellsProperty::WrappedIncludeHiddenCellsProperty(const std:: { } -WrappedIncludeHiddenCellsProperty::~WrappedIncludeHiddenCellsProperty() -{ -} - void WrappedIncludeHiddenCellsProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { diff --git a/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx b/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx index 4853347743e1..9d4f7ce0ba50 100644 --- a/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/LegendWrapper.cxx @@ -56,7 +56,6 @@ class WrappedLegendAlignmentProperty : public WrappedProperty { public: WrappedLegendAlignmentProperty(); - virtual ~WrappedLegendAlignmentProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) override; @@ -72,9 +71,6 @@ WrappedLegendAlignmentProperty::WrappedLegendAlignmentProperty() : ::chart::WrappedProperty( "Alignment", "AnchorPosition" ) { } -WrappedLegendAlignmentProperty::~WrappedLegendAlignmentProperty() -{ -} Any WrappedLegendAlignmentProperty::getPropertyValue( const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx index b0c901dc3c47..d70606fd28dd 100644 --- a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx @@ -50,7 +50,6 @@ class WrappedTitleStringProperty : public WrappedProperty { public: explicit WrappedTitleStringProperty( const Reference< uno::XComponentContext >& xContext ); - virtual ~WrappedTitleStringProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) override; @@ -68,9 +67,6 @@ WrappedTitleStringProperty::WrappedTitleStringProperty( const Reference< uno::XC , m_xContext( xContext ) { } -WrappedTitleStringProperty::~WrappedTitleStringProperty() -{ -} void WrappedTitleStringProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) @@ -111,16 +107,12 @@ class WrappedStackedTextProperty : public WrappedProperty { public: WrappedStackedTextProperty(); - virtual ~WrappedStackedTextProperty() override; }; WrappedStackedTextProperty::WrappedStackedTextProperty() : ::chart::WrappedProperty( "StackedText", "StackCharacters" ) { } -WrappedStackedTextProperty::~WrappedStackedTextProperty() -{ -} }// end namespace chart diff --git a/chart2/source/controller/chartapiwrapper/WrappedAutomaticPositionProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedAutomaticPositionProperties.cxx index 3d96d245d006..605fd723cb86 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedAutomaticPositionProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedAutomaticPositionProperties.cxx @@ -37,7 +37,6 @@ class WrappedAutomaticPositionProperty : public WrappedProperty { public: WrappedAutomaticPositionProperty(); - virtual ~WrappedAutomaticPositionProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) override; @@ -51,9 +50,6 @@ WrappedAutomaticPositionProperty::WrappedAutomaticPositionProperty() : ::chart::WrappedProperty( "AutomaticPosition" , OUString() ) { } -WrappedAutomaticPositionProperty::~WrappedAutomaticPositionProperty() -{ -} void WrappedAutomaticPositionProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) diff --git a/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx index cb377493d06b..8aebd9fb02cb 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx @@ -37,7 +37,6 @@ class WrappedAxisAndGridExistenceProperty : public WrappedProperty public: WrappedAxisAndGridExistenceProperty( bool bAxis, bool bMain, sal_Int32 nDimensionIndex , const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact ); - virtual ~WrappedAxisAndGridExistenceProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -139,10 +138,6 @@ WrappedAxisAndGridExistenceProperty::WrappedAxisAndGridExistenceProperty( bool b } } -WrappedAxisAndGridExistenceProperty::~WrappedAxisAndGridExistenceProperty() -{ -} - void WrappedAxisAndGridExistenceProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -204,7 +199,6 @@ class WrappedAxisTitleExistenceProperty : public WrappedProperty public: WrappedAxisTitleExistenceProperty( sal_Int32 nTitleIndex , const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact ); - virtual ~WrappedAxisTitleExistenceProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -261,10 +255,6 @@ WrappedAxisTitleExistenceProperty::WrappedAxisTitleExistenceProperty(sal_Int32 n } } -WrappedAxisTitleExistenceProperty::~WrappedAxisTitleExistenceProperty() -{ -} - void WrappedAxisTitleExistenceProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { @@ -318,7 +308,6 @@ class WrappedAxisLabelExistenceProperty : public WrappedProperty public: WrappedAxisLabelExistenceProperty( bool bMain, sal_Int32 nDimensionIndex , const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact ); - virtual ~WrappedAxisLabelExistenceProperty() override; virtual void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -367,10 +356,6 @@ WrappedAxisLabelExistenceProperty::WrappedAxisLabelExistenceProperty(bool bMain, } } -WrappedAxisLabelExistenceProperty::~WrappedAxisLabelExistenceProperty() -{ -} - void WrappedAxisLabelExistenceProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { diff --git a/chart2/source/controller/chartapiwrapper/WrappedDataCaptionProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedDataCaptionProperties.cxx index 226effebfd67..ad19a61f76af 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedDataCaptionProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedDataCaptionProperties.cxx @@ -44,7 +44,6 @@ public: explicit WrappedDataCaptionProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedDataCaptionProperty() override; }; namespace @@ -128,9 +127,6 @@ WrappedDataCaptionProperty::WrappedDataCaptionProperty( , uno::makeAny( sal_Int32(0) ), spChart2ModelContact, ePropertyType ) { } -WrappedDataCaptionProperty::~WrappedDataCaptionProperty() -{ -} sal_Int32 WrappedDataCaptionProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { diff --git a/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx index f1cec27c9720..9e135594fe82 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx @@ -55,8 +55,6 @@ public: WrappedGL3DProperty( const OUString& rInName, const OUString& rOutName, const uno::Any& rDefault, const std::shared_ptr<Chart2ModelContact>& pContact ) : WrappedProperty(rInName, rOutName), maDefault(rDefault), mpModelContact(pContact) {} - virtual ~WrappedGL3DProperty() override {} - virtual uno::Any getPropertyValue( const uno::Reference<beans::XPropertySet>& /*xInnerPS*/ ) const throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) override diff --git a/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx index a8bcfa624490..6d19e2ef31c5 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx @@ -37,7 +37,6 @@ class WrappedScaleTextProperty : public WrappedProperty { public: explicit WrappedScaleTextProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedScaleTextProperty() override; virtual void setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) override; @@ -56,10 +55,6 @@ WrappedScaleTextProperty::WrappedScaleTextProperty(const std::shared_ptr<Chart2M { } -WrappedScaleTextProperty::~WrappedScaleTextProperty() -{ -} - void WrappedScaleTextProperty::setPropertyValue( const Any& rOuterValue, const Reference< beans::XPropertySet >& xInnerPropertySet ) const throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException) { diff --git a/chart2/source/controller/chartapiwrapper/WrappedSplineProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedSplineProperties.cxx index 66600421cf71..e7af4fffaf94 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedSplineProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedSplineProperties.cxx @@ -52,7 +52,6 @@ public: , m_aOwnInnerName(rInnerName) { } - virtual ~WrappedSplineProperty() override {}; bool detectInnerValue( PROPERTYTYPE& rValue, bool& rHasAmbiguousValue ) const { @@ -162,7 +161,6 @@ class WrappedSplineTypeProperty : public WrappedSplineProperty< sal_Int32 > { public: explicit WrappedSplineTypeProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedSplineTypeProperty() override; virtual css::uno::Any convertInnerToOuterValue( const css::uno::Any& rInnerValue ) const override; virtual css::uno::Any convertOuterToInnerValue( const css::uno::Any& rOuterValue ) const override; @@ -224,10 +222,6 @@ WrappedSplineTypeProperty::WrappedSplineTypeProperty(const std::shared_ptr<Chart { } -WrappedSplineTypeProperty::~WrappedSplineTypeProperty() -{ -} - Any WrappedSplineTypeProperty::convertInnerToOuterValue( const Any& rInnerValue ) const { chart2::CurveStyle aInnerValue = chart2::CurveStyle_LINES; diff --git a/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx index 957a346bbe52..390cc5b0cd1d 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx @@ -208,7 +208,6 @@ public: explicit WrappedConstantErrorLowProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedConstantErrorLowProperty() override; private: mutable Any m_aOuterValue; @@ -221,9 +220,6 @@ WrappedConstantErrorLowProperty::WrappedConstantErrorLowProperty( , uno::makeAny( double(0.0) ), spChart2ModelContact, ePropertyType ) { } -WrappedConstantErrorLowProperty::~WrappedConstantErrorLowProperty() -{ -} double WrappedConstantErrorLowProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { @@ -262,7 +258,6 @@ public: explicit WrappedConstantErrorHighProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedConstantErrorHighProperty() override; private: mutable Any m_aOuterValue; @@ -275,9 +270,6 @@ WrappedConstantErrorHighProperty::WrappedConstantErrorHighProperty( , uno::makeAny( double(0.0) ), spChart2ModelContact, ePropertyType ) { } -WrappedConstantErrorHighProperty::~WrappedConstantErrorHighProperty() -{ -} double WrappedConstantErrorHighProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { @@ -316,7 +308,6 @@ public: explicit WrappedMeanValueProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedMeanValueProperty() override; }; WrappedMeanValueProperty::WrappedMeanValueProperty( @@ -325,9 +316,6 @@ WrappedMeanValueProperty::WrappedMeanValueProperty( : WrappedStatisticProperty< bool >( "MeanValue", uno::makeAny( false ), spChart2ModelContact, ePropertyType ) { } -WrappedMeanValueProperty::~WrappedMeanValueProperty() -{ -} bool WrappedMeanValueProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { @@ -360,7 +348,6 @@ public: explicit WrappedErrorCategoryProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedErrorCategoryProperty() override; }; WrappedErrorCategoryProperty::WrappedErrorCategoryProperty( @@ -370,9 +357,6 @@ WrappedErrorCategoryProperty::WrappedErrorCategoryProperty( , uno::makeAny( css::chart::ChartErrorCategory_NONE ), spChart2ModelContact, ePropertyType ) { } -WrappedErrorCategoryProperty::~WrappedErrorCategoryProperty() -{ -} css::chart::ChartErrorCategory WrappedErrorCategoryProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { @@ -458,7 +442,6 @@ public: explicit WrappedPercentageErrorProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedPercentageErrorProperty() override; private: mutable Any m_aOuterValue; @@ -471,9 +454,6 @@ WrappedPercentageErrorProperty::WrappedPercentageErrorProperty( , uno::makeAny( double(0.0) ), spChart2ModelContact, ePropertyType ) { } -WrappedPercentageErrorProperty::~WrappedPercentageErrorProperty() -{ -} double WrappedPercentageErrorProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { @@ -512,7 +492,6 @@ public: explicit WrappedErrorMarginProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedErrorMarginProperty() override; private: mutable Any m_aOuterValue; @@ -525,9 +504,6 @@ WrappedErrorMarginProperty::WrappedErrorMarginProperty( , uno::makeAny( double(0.0) ), spChart2ModelContact, ePropertyType ) { } -WrappedErrorMarginProperty::~WrappedErrorMarginProperty() -{ -} double WrappedErrorMarginProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { @@ -566,7 +542,6 @@ public: explicit WrappedErrorIndicatorProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedErrorIndicatorProperty() override; }; WrappedErrorIndicatorProperty::WrappedErrorIndicatorProperty( @@ -576,9 +551,6 @@ WrappedErrorIndicatorProperty::WrappedErrorIndicatorProperty( , uno::makeAny( css::chart::ChartErrorIndicatorType_NONE ), spChart2ModelContact, ePropertyType ) { } -WrappedErrorIndicatorProperty::~WrappedErrorIndicatorProperty() -{ -} css::chart::ChartErrorIndicatorType WrappedErrorIndicatorProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { @@ -639,7 +611,6 @@ public: explicit WrappedErrorBarStyleProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact1, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedErrorBarStyleProperty() override; }; WrappedErrorBarStyleProperty::WrappedErrorBarStyleProperty( @@ -649,9 +620,6 @@ WrappedErrorBarStyleProperty::WrappedErrorBarStyleProperty( , uno::makeAny( css::chart::ErrorBarStyle::NONE ), spChart2ModelContact, ePropertyType ) { } -WrappedErrorBarStyleProperty::~WrappedErrorBarStyleProperty() -{ -} sal_Int32 WrappedErrorBarStyleProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { @@ -685,7 +653,6 @@ public: explicit WrappedErrorBarRangePositiveProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedErrorBarRangePositiveProperty() override; private: mutable Any m_aOuterValue; @@ -698,9 +665,6 @@ WrappedErrorBarRangePositiveProperty::WrappedErrorBarRangePositiveProperty( , uno::makeAny( OUString() ), spChart2ModelContact, ePropertyType ) { } -WrappedErrorBarRangePositiveProperty::~WrappedErrorBarRangePositiveProperty() -{ -} OUString WrappedErrorBarRangePositiveProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { @@ -752,7 +716,6 @@ public: explicit WrappedErrorBarRangeNegativeProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedErrorBarRangeNegativeProperty() override; private: mutable Any m_aOuterValue; @@ -765,9 +728,6 @@ WrappedErrorBarRangeNegativeProperty::WrappedErrorBarRangeNegativeProperty( , uno::makeAny( OUString() ), spChart2ModelContact, ePropertyType ) { } -WrappedErrorBarRangeNegativeProperty::~WrappedErrorBarRangeNegativeProperty() -{ -} OUString WrappedErrorBarRangeNegativeProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { @@ -819,7 +779,6 @@ public: explicit WrappedRegressionCurvesProperty( ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedRegressionCurvesProperty() override; }; WrappedRegressionCurvesProperty::WrappedRegressionCurvesProperty( @@ -830,10 +789,6 @@ WrappedRegressionCurvesProperty::WrappedRegressionCurvesProperty( { } -WrappedRegressionCurvesProperty::~WrappedRegressionCurvesProperty() -{ -} - css::chart::ChartRegressionCurveType WrappedRegressionCurvesProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { css::chart::ChartRegressionCurveType aRet; @@ -883,7 +838,6 @@ public: explicit WrappedStatisticPropertySetProperty( PropertySetType ePropertySetType, ::std::shared_ptr< Chart2ModelContact > spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType ); - virtual ~WrappedStatisticPropertySetProperty() override; private: PropertySetType m_eType; @@ -903,9 +857,6 @@ WrappedStatisticPropertySetProperty::WrappedStatisticPropertySetProperty( , m_eType( ePropertySetType ) { } -WrappedStatisticPropertySetProperty::~WrappedStatisticPropertySetProperty() -{ -} Reference< beans::XPropertySet > WrappedStatisticPropertySetProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { diff --git a/chart2/source/controller/chartapiwrapper/WrappedStockProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedStockProperties.cxx index accfed475e1a..1b95c37d9252 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedStockProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedStockProperties.cxx @@ -41,7 +41,6 @@ public: explicit WrappedStockProperty( const OUString& rOuterName , const css::uno::Any& rDefaulValue , const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact ); - virtual ~WrappedStockProperty() override; void setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -66,9 +65,6 @@ WrappedStockProperty::WrappedStockProperty( const OUString& rOuterName , m_aDefaultValue(rDefaulValue) { } -WrappedStockProperty::~WrappedStockProperty() -{ -} void WrappedStockProperty::setPropertyValue( const css::uno::Any& rOuterValue, const css::uno::Reference< css::beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException) @@ -117,7 +113,6 @@ class WrappedVolumeProperty : public WrappedStockProperty { public: explicit WrappedVolumeProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedVolumeProperty() override; css::uno::Any getPropertyValue( const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -130,10 +125,6 @@ WrappedVolumeProperty::WrappedVolumeProperty(const std::shared_ptr<Chart2ModelCo { } -WrappedVolumeProperty::~WrappedVolumeProperty() -{ -} - css::uno::Any WrappedVolumeProperty::getPropertyValue( const css::uno::Reference< css::beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException) { @@ -189,7 +180,6 @@ class WrappedUpDownProperty : public WrappedStockProperty { public: explicit WrappedUpDownProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact); - virtual ~WrappedUpDownProperty() override; css::uno::Any getPropertyValue( const css::uno::Reference< css::beans::XPropertySet >& xInnerPropertySet ) const throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException) override; @@ -202,10 +192,6 @@ WrappedUpDownProperty::WrappedUpDownProperty(const std::shared_ptr<Chart2ModelCo { } -WrappedUpDownProperty::~WrappedUpDownProperty() -{ -} - css::uno::Any WrappedUpDownProperty::getPropertyValue( const css::uno::Reference< css::beans::XPropertySet >& /*xInnerPropertySet*/ ) const throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException) { diff --git a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx index 7ccda8441db3..1f8a99eff6c5 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx +++ b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx @@ -62,7 +62,6 @@ public: explicit WrappedSymbolTypeProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType); - virtual ~WrappedSymbolTypeProperty() override; }; class WrappedSymbolBitmapURLProperty : public WrappedSeriesOrDiagramProperty< OUString > @@ -73,7 +72,6 @@ public: explicit WrappedSymbolBitmapURLProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType); - virtual ~WrappedSymbolBitmapURLProperty() override; }; class WrappedSymbolSizeProperty : public WrappedSeriesOrDiagramProperty< awt::Size > @@ -86,7 +84,6 @@ public: explicit WrappedSymbolSizeProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType); - virtual ~WrappedSymbolSizeProperty() override; }; class WrappedSymbolAndLinesProperty : public WrappedSeriesOrDiagramProperty< bool > @@ -99,7 +96,6 @@ public: explicit WrappedSymbolAndLinesProperty(const std::shared_ptr<Chart2ModelContact>& spChart2ModelContact, tSeriesOrDiagramPropertyType ePropertyType); - virtual ~WrappedSymbolAndLinesProperty() override; }; namespace @@ -222,9 +218,6 @@ WrappedSymbolTypeProperty::WrappedSymbolTypeProperty( , ePropertyType ) { } -WrappedSymbolTypeProperty::~WrappedSymbolTypeProperty() -{ -} sal_Int32 WrappedSymbolTypeProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { @@ -307,10 +300,6 @@ WrappedSymbolBitmapURLProperty::WrappedSymbolBitmapURLProperty( { } -WrappedSymbolBitmapURLProperty::~WrappedSymbolBitmapURLProperty() -{ -} - OUString WrappedSymbolBitmapURLProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { OUString aRet; @@ -435,10 +424,6 @@ WrappedSymbolSizeProperty::WrappedSymbolSizeProperty( { } -WrappedSymbolSizeProperty::~WrappedSymbolSizeProperty() -{ -} - awt::Size WrappedSymbolSizeProperty::getValueFromSeries( const Reference< beans::XPropertySet >& xSeriesPropertySet ) const { awt::Size aRet; @@ -497,10 +482,6 @@ WrappedSymbolAndLinesProperty::WrappedSymbolAndLinesProperty( { } -WrappedSymbolAndLinesProperty::~WrappedSymbolAndLinesProperty() -{ -} - bool WrappedSymbolAndLinesProperty::getValueFromSeries( const Reference< beans::XPropertySet >& /*xSeriesPropertySet*/ ) const { //do not export this property anymore, instead use a linestyle none for no lines diff --git a/chart2/source/controller/dialogs/dlg_DataSource.cxx b/chart2/source/controller/dialogs/dlg_DataSource.cxx index c7a8dcbf3ee0..71867a64cbdc 100644 --- a/chart2/source/controller/dialogs/dlg_DataSource.cxx +++ b/chart2/source/controller/dialogs/dlg_DataSource.cxx @@ -45,7 +45,6 @@ class DocumentChartTypeTemplateProvider : public ChartTypeTemplateProvider public: explicit DocumentChartTypeTemplateProvider( const Reference< chart2::XChartDocument > & xDoc ); - virtual ~DocumentChartTypeTemplateProvider() override; // ____ ChartTypeTemplateProvider ____ virtual Reference< chart2::XChartTypeTemplate > getCurrentTemplate() const override; @@ -72,9 +71,6 @@ DocumentChartTypeTemplateProvider::DocumentChartTypeTemplateProvider( } } -DocumentChartTypeTemplateProvider::~DocumentChartTypeTemplateProvider() -{} - Reference< chart2::XChartTypeTemplate > DocumentChartTypeTemplateProvider::getCurrentTemplate() const { return m_xTemplate; diff --git a/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx b/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx index bafb0e6b653a..91d8e36edf01 100644 --- a/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx @@ -56,7 +56,6 @@ public: SfxItemPool & rItemPool, const awt::Size* pRefSize, const uno::Reference< beans::XPropertySet > & xParentProp ); - virtual ~FormattedStringsConverter() override; protected: virtual const sal_uInt16 * GetWhichPairs() const override; @@ -85,10 +84,6 @@ FormattedStringsConverter::FormattedStringsConverter( } } -FormattedStringsConverter::~FormattedStringsConverter() -{ -} - const sal_uInt16 * FormattedStringsConverter::GetWhichPairs() const { return nCharacterPropertyWhichPairs; diff --git a/chart2/source/controller/main/ConfigurationAccess.cxx b/chart2/source/controller/main/ConfigurationAccess.cxx index 55cb5f9d5679..b95c8da2a6d0 100644 --- a/chart2/source/controller/main/ConfigurationAccess.cxx +++ b/chart2/source/controller/main/ConfigurationAccess.cxx @@ -47,7 +47,6 @@ private: public: CalcConfigItem(); - virtual ~CalcConfigItem() override; FieldUnit getFieldUnit(); virtual void Notify( const uno::Sequence<OUString>& aPropertyNames) override; @@ -58,10 +57,6 @@ CalcConfigItem::CalcConfigItem() { } -CalcConfigItem::~CalcConfigItem() -{ -} - void CalcConfigItem::ImplCommit() {} void CalcConfigItem::Notify( const uno::Sequence<OUString>& ) {} diff --git a/chart2/source/tools/ConfigColorScheme.cxx b/chart2/source/tools/ConfigColorScheme.cxx index 2093878539b0..e1b842dda7ac 100644 --- a/chart2/source/tools/ConfigColorScheme.cxx +++ b/chart2/source/tools/ConfigColorScheme.cxx @@ -53,7 +53,6 @@ class ChartConfigItem : public ::utl::ConfigItem { public: explicit ChartConfigItem( ConfigColorScheme & rListener ); - virtual ~ChartConfigItem() override {} void addPropertyNotification( const OUString & rPropertyName ); uno::Any getProperty( const OUString & aPropertyName ); diff --git a/chart2/source/tools/ExplicitCategoriesProvider.cxx b/chart2/source/tools/ExplicitCategoriesProvider.cxx index 70321070d3bf..2a7ae2d24f70 100644 --- a/chart2/source/tools/ExplicitCategoriesProvider.cxx +++ b/chart2/source/tools/ExplicitCategoriesProvider.cxx @@ -226,8 +226,6 @@ public: : m_rSplitCategoriesList( rSplitCategoriesList ) , mrModel( rModel ) {} - virtual ~SplitCategoriesProvider_ForLabeledDataSequences() override - {} virtual sal_Int32 getLevelCount() const override; virtual uno::Sequence< OUString > getStringsForLevel( sal_Int32 nIndex ) const override; diff --git a/chart2/source/tools/InternalDataProvider.cxx b/chart2/source/tools/InternalDataProvider.cxx index e2e1ad333202..ef6facdee058 100644 --- a/chart2/source/tools/InternalDataProvider.cxx +++ b/chart2/source/tools/InternalDataProvider.cxx @@ -1340,8 +1340,6 @@ public: explicit SplitCategoriesProvider_ForComplexDescriptions( const ::std::vector< ::std::vector< uno::Any > >& rComplexDescriptions ) : m_rComplexDescriptions( rComplexDescriptions ) {} - virtual ~SplitCategoriesProvider_ForComplexDescriptions() override - {} virtual sal_Int32 getLevelCount() const override; virtual uno::Sequence< OUString > getStringsForLevel( sal_Int32 nIndex ) const override; diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx index daccb00c1411..52986ff88415 100644 --- a/chart2/source/view/axes/VCartesianAxis.cxx +++ b/chart2/source/view/axes/VCartesianAxis.cxx @@ -423,7 +423,6 @@ class MaxLabelTickIter : public TickIter { public: MaxLabelTickIter( TickInfoArrayType& rTickInfoVector, size_t nLongestLabelIndex ); - virtual ~MaxLabelTickIter() override; virtual TickInfo* firstInfo() override; virtual TickInfo* nextInfo() override; @@ -460,10 +459,6 @@ MaxLabelTickIter::MaxLabelTickIter( } } -MaxLabelTickIter::~MaxLabelTickIter() -{ -} - TickInfo* MaxLabelTickIter::firstInfo() { m_nCurrentIndex = 0; diff --git a/chart2/source/view/axes/VCartesianCoordinateSystem.cxx b/chart2/source/view/axes/VCartesianCoordinateSystem.cxx index 6cf8f6b9b55b..5aceed61248b 100644 --- a/chart2/source/view/axes/VCartesianCoordinateSystem.cxx +++ b/chart2/source/view/axes/VCartesianCoordinateSystem.cxx @@ -41,9 +41,6 @@ public: : m_aTextSequence( rTextSequence ) { } - virtual ~TextualDataProvider() override - { - } //XTextualDataSequence virtual uno::Sequence< OUString > SAL_CALL getTextualData() diff --git a/chart2/source/view/charttypes/PieChart.cxx b/chart2/source/view/charttypes/PieChart.cxx index d91e5a10d3fd..50c3bd070a68 100644 --- a/chart2/source/view/charttypes/PieChart.cxx +++ b/chart2/source/view/charttypes/PieChart.cxx @@ -98,7 +98,6 @@ class PiePositionHelper : public PolarPlottingPositionHelper { public: PiePositionHelper( NormalAxis eNormalAxis, double fAngleDegreeOffset ); - virtual ~PiePositionHelper() override; bool getInnerAndOuterRadius( double fCategoryX, double& fLogicInnerRadius, double& fLogicOuterRadius, bool bUseRings, double fMaxOffset ) const; @@ -115,10 +114,6 @@ PiePositionHelper::PiePositionHelper( NormalAxis eNormalAxis, double fAngleDegre m_fAngleDegreeOffset = fAngleDegreeOffset; } -PiePositionHelper::~PiePositionHelper() -{ -} - /** Compute the outer and the inner radius for the current ring (not for the * whole donut!), in general it is: * inner_radius = (ring_index + 1) - 0.5 + max_offset, |