animations/source/animcore/animcore.cxx | 10 -- basctl/source/basicide/basidesh.cxx | 4 basic/qa/cppunit/test_vba.cxx | 1 basic/source/classes/errobject.cxx | 7 - basic/source/classes/sbunoobj.cxx | 9 - basic/source/classes/sbxmod.cxx | 5 - chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx | 25 ----- chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx | 19 --- chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx | 45 --------- chart2/source/controller/chartapiwrapper/LegendWrapper.cxx | 4 chart2/source/controller/chartapiwrapper/TitleWrapper.cxx | 8 - chart2/source/controller/chartapiwrapper/WrappedAutomaticPositionProperties.cxx | 4 chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties.cxx | 15 --- chart2/source/controller/chartapiwrapper/WrappedDataCaptionProperties.cxx | 4 chart2/source/controller/chartapiwrapper/WrappedGL3DProperties.cxx | 2 chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties.cxx | 5 - chart2/source/controller/chartapiwrapper/WrappedSplineProperties.cxx | 6 - chart2/source/controller/chartapiwrapper/WrappedStatisticProperties.cxx | 49 ---------- chart2/source/controller/chartapiwrapper/WrappedStockProperties.cxx | 14 -- chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx | 19 --- chart2/source/controller/dialogs/dlg_DataSource.cxx | 4 chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx | 5 - chart2/source/controller/main/ConfigurationAccess.cxx | 5 - chart2/source/tools/ConfigColorScheme.cxx | 1 chart2/source/tools/ExplicitCategoriesProvider.cxx | 2 chart2/source/tools/InternalDataProvider.cxx | 2 chart2/source/view/axes/VCartesianAxis.cxx | 5 - chart2/source/view/axes/VCartesianCoordinateSystem.cxx | 3 chart2/source/view/charttypes/PieChart.cxx | 5 - 29 files changed, 1 insertion(+), 286 deletions(-)
New commits: commit 705af606f75d870edcaa7fa01e360ae3dd31661b Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Nov 23 18:37:35 2016 +0100 loplugin:unnecessaryoverride (dtors) in chart2 Change-Id: I013fd81467b353262e8de554a06a0b24e4deca6d diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx index f6b1f22..4f46ea8 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 430172f..a480d30 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 bea455e..2d33bf3 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 4853347..9d4f7ce 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 b0c901d..d70606f 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 3d96d24..605fd72 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 cb37749..8aebd9f 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 226effe..ad19a61 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 f1cec27..9e13559 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 a8bcfa6..6d19e2e 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 6660042..e7af4ff 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 957a346..390cc5b 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 accfed4..1b95c37 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 7ccda84..1f8a99e 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 c7a8dcb..71867a6 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 bafb0e6..91d8e36 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 55cb5f9..b95c8da 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 2093878..e1b842d 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 7032107..2a7ae2d 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 e2e1ad3..ef6facd 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 daccb00..52986ff 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 6cf8f6b..5aceed6 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 d91e5a1..50c3bd0 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, commit f338935019ab8e0b19cf7b7ce5151d7cf73e9383 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Nov 23 18:37:02 2016 +0100 loplugin:unnecessaryoverride (dtors) in basic Change-Id: I5756b96bcc7563b82e35d3cdfdda3b80692767e5 diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx index 4e5adc3..4028ec46 100644 --- a/basic/qa/cppunit/test_vba.cxx +++ b/basic/qa/cppunit/test_vba.cxx @@ -25,7 +25,6 @@ namespace { public: VBATest() : BootstrapFixture(true, false) {} - virtual ~VBATest() override {} void testMiscVBAFunctions(); void testMiscOLEStuff(); // Adds code needed to register the test suite diff --git a/basic/source/classes/errobject.cxx b/basic/source/classes/errobject.cxx index ddeb1ae..19f1213 100644 --- a/basic/source/classes/errobject.cxx +++ b/basic/source/classes/errobject.cxx @@ -38,7 +38,7 @@ class ErrObject : public ::cppu::WeakImplHelper< vba::XErrObject, public: ErrObject(); - virtual ~ErrObject() override; + // Attributes virtual ::sal_Int32 SAL_CALL getNumber() throw (uno::RuntimeException, std::exception) override; virtual void SAL_CALL setNumber( ::sal_Int32 _number ) throw (uno::RuntimeException, std::exception) override; @@ -62,11 +62,6 @@ public: const uno::Any& HelpFile, const uno::Any& HelpContext ) throw (uno::RuntimeException); }; - -ErrObject::~ErrObject() -{ -} - ErrObject::ErrObject() : m_nNumber(0), m_nHelpContext(0) { } diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index d4ccf6d..e87d267 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -3826,7 +3826,6 @@ public: OUString aPrefixName; explicit BasicAllListener_Impl( const OUString& aPrefixName ); - virtual ~BasicAllListener_Impl() override; // Methods of XAllListener virtual void SAL_CALL firing(const AllEventObject& Event) throw ( RuntimeException, std::exception ) override; @@ -3842,12 +3841,6 @@ BasicAllListener_Impl::BasicAllListener_Impl(const OUString& aPrefixName_) { } - -BasicAllListener_Impl::~BasicAllListener_Impl() -{ -} - - void BasicAllListener_Impl::firing_impl( const AllEventObject& Event, Any* pRet ) { SolarMutexGuard guard; @@ -4249,8 +4242,6 @@ class ModuleInvocationProxy : public WeakImplHelper< XInvocation, XComponent > public: ModuleInvocationProxy( const OUString& aPrefix, SbxObjectRef xScopeObj ); - virtual ~ModuleInvocationProxy() override - {} // XInvocation virtual Reference< XIntrospectionAccess > SAL_CALL getIntrospection() throw(std::exception) override; diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 5acd71e..fef1220 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -99,7 +99,6 @@ class DocObjectWrapper : public DocObjectWrapper_BASE public: explicit DocObjectWrapper( SbModule* pMod ); - virtual ~DocObjectWrapper() override; virtual void SAL_CALL acquire() throw() override; virtual void SAL_CALL release() throw() override; @@ -185,10 +184,6 @@ DocObjectWrapper::release() throw () OWeakObject::release(); } -DocObjectWrapper::~DocObjectWrapper() -{ -} - Sequence< Type > SAL_CALL DocObjectWrapper::getTypes() throw ( RuntimeException, std::exception ) { commit 5d06df27ad7c4182a5a32d899d52da77238fd13f Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Nov 23 18:36:45 2016 +0100 loplugin:unnecessaryoverride (dtors) in basctl Change-Id: Ib2754450cd7caa2675b872c8c9f3d41cec950770 diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index bcbbf46..417a987 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -71,10 +71,6 @@ public: { } - virtual ~ContainerListenerImpl() override - { - } - void addContainerListener( const ScriptDocument& rScriptDocument, const OUString& aLibName ) { try commit f963c98845303df5a9bc80dd834005cf745a1d76 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Nov 23 18:36:18 2016 +0100 loplugin:unnecessaryoverride (dtors) in animations Change-Id: I51b94f43e27da93afb3c44ed5f68e70e457fe8ea diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx index 16deb20..db17efc 100644 --- a/animations/source/animcore/animcore.cxx +++ b/animations/source/animcore/animcore.cxx @@ -129,7 +129,6 @@ class AnimationNode : public AnimationNodeBase public: explicit AnimationNode(sal_Int16 nNodeType); explicit AnimationNode(const AnimationNode& rNode); - virtual ~AnimationNode() override; // XInterface virtual Any SAL_CALL queryInterface( const Type& aType ) throw (RuntimeException, std::exception) override; @@ -352,7 +351,6 @@ class TimeContainerEnumeration : public ::cppu::WeakImplHelper< XEnumeration > { public: explicit TimeContainerEnumeration( const ChildList_t &rChildren ); - virtual ~TimeContainerEnumeration() override; // Methods virtual sal_Bool SAL_CALL hasMoreElements() throw (RuntimeException, std::exception) override; @@ -375,10 +373,6 @@ TimeContainerEnumeration::TimeContainerEnumeration( const ChildList_t &rChildren maIter = maChildren.begin(); } -TimeContainerEnumeration::~TimeContainerEnumeration() -{ -} - // Methods sal_Bool SAL_CALL TimeContainerEnumeration::hasMoreElements() throw (RuntimeException, std::exception) { @@ -500,10 +494,6 @@ AnimationNode::AnimationNode( const AnimationNode& rNode ) { } -AnimationNode::~AnimationNode() -{ -} - Sequence<OUString> getSupportedServiceNames_PAR() { return { "com.sun.star.animations.ParallelTimeContainer" }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits