diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-02 15:33:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-03 07:54:27 +0100 |
commit | 5da6c31a76a95a19bd15ebdb0d1321b7d1240cc7 (patch) | |
tree | ebcb8eeeb54defa839ee82d97d3a17602639c1b9 /reportdesign | |
parent | 6299c8cae923198c55d47320fa8a89bbcd5b0f2b (diff) |
loplugin:finalclasses
Change-Id: I10ff73f89c965beb3cfb5fc3a40dd959d8f77aaa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124600
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/inc/RptObject.hxx | 3 | ||||
-rw-r--r-- | reportdesign/inc/UndoEnv.hxx | 5 | ||||
-rw-r--r-- | reportdesign/source/core/inc/FixedLine.hxx | 3 | ||||
-rw-r--r-- | reportdesign/source/core/inc/FixedText.hxx | 3 | ||||
-rw-r--r-- | reportdesign/source/core/inc/FormatCondition.hxx | 3 | ||||
-rw-r--r-- | reportdesign/source/core/inc/FormattedField.hxx | 3 |
6 files changed, 7 insertions, 13 deletions
diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx index fe8b49d08738..732d70947654 100644 --- a/reportdesign/inc/RptObject.hxx +++ b/reportdesign/inc/RptObject.hxx @@ -221,7 +221,7 @@ private: // OUnoObject -class REPORTDESIGN_DLLPUBLIC OUnoObject: public SdrUnoObj , public OObjectBase +class REPORTDESIGN_DLLPUBLIC OUnoObject final : public SdrUnoObj , public OObjectBase { friend class OReportPage; friend class OObjectBase; @@ -231,7 +231,6 @@ class REPORTDESIGN_DLLPUBLIC OUnoObject: public SdrUnoObj , public OObjectBase // tdf#118730 remember if this object was created interactively (due to ::EndCreate being called) bool m_bSetDefaultLabel; -protected: OUnoObject(SdrModel& rSdrModel, const OUString& _sComponentName, const OUString& rModelName, diff --git a/reportdesign/inc/UndoEnv.hxx b/reportdesign/inc/UndoEnv.hxx index 80807048c625..af893f68d671 100644 --- a/reportdesign/inc/UndoEnv.hxx +++ b/reportdesign/inc/UndoEnv.hxx @@ -37,7 +37,7 @@ namespace rptui class OXUndoEnvironmentImpl; - class REPORTDESIGN_DLLPUBLIC OXUndoEnvironment + class REPORTDESIGN_DLLPUBLIC OXUndoEnvironment final : public ::cppu::WeakImplHelper< css::beans::XPropertyChangeListener , css::container::XContainerListener , css::util::XModifyListener @@ -49,7 +49,6 @@ namespace rptui OXUndoEnvironment(const OXUndoEnvironment&) = delete; OXUndoEnvironment& operator=(const OXUndoEnvironment&) = delete; - protected: virtual ~OXUndoEnvironment() override; void SetUndoMode(bool _bUndo); @@ -112,7 +111,7 @@ namespace rptui */ void RemoveSection(OReportPage const * _pPage); - protected: + private: // XEventListener virtual void SAL_CALL disposing(const css::lang::EventObject& Source) override; diff --git a/reportdesign/source/core/inc/FixedLine.hxx b/reportdesign/source/core/inc/FixedLine.hxx index 5d726a85ed97..4b1c44d71722 100644 --- a/reportdesign/source/core/inc/FixedLine.hxx +++ b/reportdesign/source/core/inc/FixedLine.hxx @@ -39,7 +39,7 @@ namespace reportdesign * \ingroup reportdesign_api * */ - class OFixedLine : public cppu::BaseMutex, + class OFixedLine final : public cppu::BaseMutex, public FixedLineBase, public FixedLinePropertySet { @@ -68,7 +68,6 @@ namespace reportdesign } l.notify(); } - protected: virtual ~OFixedLine() override; public: explicit OFixedLine(css::uno::Reference< css::uno::XComponentContext > const & _xContext); diff --git a/reportdesign/source/core/inc/FixedText.hxx b/reportdesign/source/core/inc/FixedText.hxx index 03126ab30e5f..815bc56390b1 100644 --- a/reportdesign/source/core/inc/FixedText.hxx +++ b/reportdesign/source/core/inc/FixedText.hxx @@ -40,7 +40,7 @@ namespace reportdesign * \ingroup reportdesign_api * */ - class OFixedText : public cppu::BaseMutex, + class OFixedText final : public cppu::BaseMutex, public FixedTextBase, public FixedTextPropertySet { @@ -97,7 +97,6 @@ namespace reportdesign } l.notify(); } - protected: virtual ~OFixedText() override; public: explicit OFixedText(css::uno::Reference< css::uno::XComponentContext > const & _xContext); diff --git a/reportdesign/source/core/inc/FormatCondition.hxx b/reportdesign/source/core/inc/FormatCondition.hxx index 409b1198f7ef..dcff84d48b20 100644 --- a/reportdesign/source/core/inc/FormatCondition.hxx +++ b/reportdesign/source/core/inc/FormatCondition.hxx @@ -38,7 +38,7 @@ namespace reportdesign * \ingroup reportdesign_api * */ - class OFormatCondition : public cppu::BaseMutex, + class OFormatCondition final : public cppu::BaseMutex, public FormatConditionBase, public FormatConditionPropertySet { @@ -95,7 +95,6 @@ namespace reportdesign } l.notify(); } - protected: virtual ~OFormatCondition() override; public: explicit OFormatCondition(css::uno::Reference< css::uno::XComponentContext > const & _xContext diff --git a/reportdesign/source/core/inc/FormattedField.hxx b/reportdesign/source/core/inc/FormattedField.hxx index 040b6af2dfbb..9a6378dca6e6 100644 --- a/reportdesign/source/core/inc/FormattedField.hxx +++ b/reportdesign/source/core/inc/FormattedField.hxx @@ -39,7 +39,7 @@ namespace reportdesign * \ingroup reportdesign_api * */ - class OFormattedField : public cppu::BaseMutex, + class OFormattedField final : public cppu::BaseMutex, public FormattedFieldBase, public FormattedFieldPropertySet { @@ -100,7 +100,6 @@ namespace reportdesign } l.notify(); } - protected: virtual ~OFormattedField() override; public: explicit OFormattedField(css::uno::Reference< css::uno::XComponentContext > const & _xContext); |