diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-01 17:32:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-02 10:56:53 +0100 |
commit | 570eed8ce4761cea0aa74efc85c182bc4af45493 (patch) | |
tree | 138f034ae9b9c10ed4959f3445aeb9b14153a0df /forms/source/component/Edit.hxx | |
parent | bcb5a3121d089c059b0293c4402c3617bbe3d131 (diff) |
loplugin:finalclasses in forms
Change-Id: I0f849fd104699e2861aaba2d4be38168e80703b0
Reviewed-on: https://gerrit.libreoffice.org/44189
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/source/component/Edit.hxx')
-rw-r--r-- | forms/source/component/Edit.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/forms/source/component/Edit.hxx b/forms/source/component/Edit.hxx index f202959f6bc0..af552528333c 100644 --- a/forms/source/component/Edit.hxx +++ b/forms/source/component/Edit.hxx @@ -32,7 +32,7 @@ struct ImplSVEvent; namespace frm { -class OEditModel : public OEditBaseModel +class OEditModel final : public OEditBaseModel { ::std::unique_ptr< ::dbtools::FormattedColumnValue > m_pValueFormatter; @@ -43,7 +43,7 @@ class OEditModel : public OEditBaseModel public: DECLARE_DEFAULT_LEAF_XTOR( OEditModel ); -protected: +private: void enableFormattedWriteFake() { m_bWritingFormattedFake = true; } void disableFormattedWriteFake() { m_bWritingFormattedFake = false; } bool lastReadWasFormattedFake() const { return (getLastReadVersion() & PF_FAKE_FORMATTED_FIELD) != 0; } @@ -85,7 +85,7 @@ public: // XEventListener using OBoundControlModel::disposing; -protected: +private: // OControlModel overridables virtual void writeAggregate( const css::uno::Reference< css::io::XObjectOutputStream >& _rxOutStream ) const override; virtual void readAggregate( const css::uno::Reference< css::io::XObjectInputStream >& _rxInStream ) override; @@ -101,12 +101,10 @@ protected: virtual bool approveDbColumnType( sal_Int32 _nColumnType ) override; -protected: virtual sal_uInt16 getPersistenceFlags() const override; virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override; -private: bool implActsAsRichText( ) const; }; |